version: "3.7" volumes: data: name: influxdb-services networks: proxy: external: true metrics: services: metrics-bot: image: registry.picasoft.net/pica-metrics-bot:v1.1 build: . container_name: pica-metrics-services volumes: - ./config.json:/config.json environment: - INTERVAL_SECONDS=120 env_file: ./secrets/account.secrets networks: - metrics restart: unless-stopped influxdb: image: influxdb:1.7.10-alpine container_name: influxdb-services volumes: - data:/var/lib/influxdb environment: - INFLUXDB_HTTP_AUTH_ENABLED=true - INFLUXDB_DATA_MAX_VALUES_PER_TAG=0 # See https://docs.influxdata.com/influxdb/v1.7/administration/upgrading/#switch-between-tsm-and-tsi-indexes - INFLUXDB_DATA_INDEX_VERSION=tsi1 - INFLUXDB_REPORTING_DISABLED=true env_file: ./secrets/influxdb.secrets labels: traefik.http.routers.influxdb-services.entrypoints: websecure traefik.http.routers.influxdb-services.rule: Host(`influxdb.picasoft.net`) traefik.http.services.influxdb-services.loadbalancer.server.port: 8086 traefik.enable: true networks: - metrics - proxy restart: always