services: influxdb: restart: unless-stopped image: influxdb:2.8 ports: - '8086:8086' user: 1029:1000 volumes: - /home/fejy/docker/scrutiny/influxdb:/var/lib/influxdb2 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8086/health"] interval: 5s timeout: 10s retries: 20 networks: - scrutiny web: restart: unless-stopped image: 'ghcr.io/analogj/scrutiny:v0-web' user: 1029:1000 volumes: - /home/fejy/docker/scrutiny/config:/opt/scrutiny/config environment: SCRUTINY_WEB_INFLUXDB_HOST: 'influxdb' depends_on: influxdb: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/api/health"] interval: 5s timeout: 10s retries: 20 start_period: 10s networks: - proxy - scrutiny labels: - "traefik.enable=true" - "traefik.docker.network=proxy" - "traefik.http.routers.scrutiny.entryPoints=web" - "traefik.http.routers.scrutiny.rule=Host(`scrutiny.nearfuture`)" networks: proxy: external: true scrutiny: