homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 240 forks source link

Validation error in Docker Compose file: Additional property 'ersion #511

Closed Rfkgaming89 closed 1 year ago

Rfkgaming89 commented 1 year ago

Current Situation

Current Situation

Copying the current docker compose file you will get the error

Validation error in Docker Compose file: Additional property 'ersion

Removed unnecessary quotation marks around the max-size value. It should be provided as a numeric value without quotes.
Enclosed the value of max-file in quotes to ensure it is treated as a string.

Proposed Change

The correct one should be as followed

version: '2' services: homebridge: image: oznu/homebridge:latest restart: always network_mode: host volumes:

Docker Config

The current docker compose Manifest is

version: '2'
services:
homebridge:
image: oznu/homebridge:latest
restart: always
network_mode: host
volumes:
- ./volumes/homebridge:/homebridge
logging:
driver: json-file
options:
max-size: "10mb"
max-file: "1"

Logs

No response

Host Operating System

Ubuntu / Debian (or a variant)

Host Architecture

x86_64 / amd64