Skip to content
Snippets Groups Projects
docker-compose.yml 1.25 KiB
Newer Older
version: "3.7"
  data:
    name: influxdb-services
  metrics-bot:
PICHOU Kyâne's avatar
PICHOU Kyâne committed
    image: registry.picasoft.net/pica-metrics-bot:v1.1
    container_name: pica-metrics-services
    env_file: ./secrets/account.secrets
    networks:
      - metrics
      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
        - metrics