services: homekit-bridge: build: context: ../.. dockerfile: apps/homekit/Dockerfile container_name: homekit-bridge # Required for mDNS/Bonjour to work properly network_mode: host environment: - HOMEKIT_NAME=Home Automation Bridge - HOMEKIT_PIN=031-45-154 - HOMEKIT_PORT=51826 - API_BASE=http://homea2-api-internal.hottis.de - HOMEKIT_API_TOKEN= - HOMEKIT_PERSIST_FILE=/data/homekit.state volumes: - homekit_data:/data restart: unless-stopped volumes: homekit_data: driver: local