version: '3.4' services: hue_exporter: image: hue_exporter build: context: . dockerfile: ./Dockerfile restart: unless-stopped container_name: hue_exporter network_mode: "host" ports: - 9773:9773 env_file: - .env logging: driver: "json-file" options: max-file: "3" max-size: 10m