version: '3.8' services: spotify-integration: build: . # Uncomment the next line to use pre-built image instead of building # image: mase1981/uc-intg-spotify:latest container_name: uc-spotify-integration restart: unless-stopped # Network configuration for mDNS discovery network_mode: host # Environment variables (only technical settings) environment: - UC_CONFIG_HOME=/app/config - UC_INTEGRATION_INTERFACE=0.0.0.0 - UC_INTEGRATION_HTTP_PORT=9090 # Uncomment to disable mDNS publishing if needed # - UC_DISABLE_MDNS_PUBLISH=true # Volume for persistent configuration volumes: - spotify-config:/app/config # Health check healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:9090/ || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 30s # Logging configuration logging: driver: "json-file" options: max-size: "10m" max-file: "3" volumes: spotify-config: driver: local