Skip to content

Instantly share code, notes, and snippets.

@xNok
Last active September 13, 2021 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xNok/0f97ed6f9b20c6cd1b8dd7fc3a6da487 to your computer and use it in GitHub Desktop.
Save xNok/0f97ed6f9b20c6cd1b8dd7fc3a6da487 to your computer and use it in GitHub Desktop.
version: '3.8'
services:
influxdb:
image: influxdb:2.0.7
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: ${INFLUXDB_USERNAME}
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUXDB_PASSWORD}
DOCKER_INFLUXDB_INIT_ORG: iot
DOCKER_INFLUXDB_INIT_BUCKET: users_business_events
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUXDB_TOKEN}
ports:
- "8086:8086"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment