Files
service_hue_collector/docker-compose.yml
T

24 lines
666 B
YAML
Raw Normal View History

2026-08-30 14:26:11 +02:00
services:
hue-collector:
build: .
restart: unless-stopped
environment:
HUE_BRIDGE_HOST: ${HUE_BRIDGE_HOST:-}
HUE_APPLICATION_KEY: ${HUE_APPLICATION_KEY:-}
HUE_VERIFY_TLS: ${HUE_VERIFY_TLS:-false}
COLLECT_INTERVAL_SECONDS: ${COLLECT_INTERVAL_SECONDS:-30}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
2026-09-06 15:31:57 +02:00
DATA_DIR: /data
volumes:
- hue-rrd-data:/data
2026-08-30 14:26:11 +02:00
ports:
2026-08-30 14:42:18 +02:00
- "${PUBLISH_ADDRESS:-0.0.0.0}:8000:8000"
2026-08-30 14:26:11 +02:00
healthcheck:
2026-09-06 15:31:57 +02:00
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')"]
2026-08-30 14:26:11 +02:00
interval: 30s
timeout: 5s
retries: 3
volumes:
2026-09-06 15:31:57 +02:00
hue-rrd-data: