Skip to content

Commit

Permalink
Fixes influxdb init for docker compose
Browse files Browse the repository at this point in the history
Fixes #623 #558

Thanks to @bcjmk #623 (comment)
  • Loading branch information
platinummonkey committed Mar 5, 2024
1 parent d74dbcf commit c503f04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions init/docker/docker-compose.yml
Expand Up @@ -14,9 +14,10 @@ services:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=${INFLUXDB_ADMIN_USER}
- DOCKER_INFLUXDB_INIT_PASSWORD=${INFLUXDB_ADMIN_PASSWORD}
- DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG}
- DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET}
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
# enable if using influxdb v2 instead
# - DOCKER_INFLUXDB_INIT_ORG=${INFLUXDB_ORG}
# - DOCKER_INFLUXDB_INIT_BUCKET=${INFLUXDB_BUCKET}
# - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=${INFLUXDB_ADMIN_TOKEN}
grafana:
image: grafana/grafana:latest
restart: always
Expand Down

0 comments on commit c503f04

Please sign in to comment.