version: "3" services: homebridge: container_name: homebridge image: homebridge/homebridge:latest environment: - HOMEBRIDGE_CONFIG_UI=1 - HOMEBRIDGE_CONFIG_UI_PORT=8581 volumes: - /homebridge:/homebridge network_mode: host ports: - 8581:8581 restart: unless-stopped