Skip to content

Commit

Permalink
Merge pull request #682 from unpoller/platinummonkey-patch-1
Browse files Browse the repository at this point in the history
Fixes influxdb init for docker compose
  • Loading branch information
platinummonkey committed Mar 5, 2024
2 parents d74dbcf + c503f04 commit 60e5c3d
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 60e5c3d

Please sign in to comment.