Skip to content

Instantly share code, notes, and snippets.

@pada57
Created January 16, 2021 13:26
Show Gist options
  • Select an option

  • Save pada57/05b5f259b98001bf053c468f9c5e3336 to your computer and use it in GitHub Desktop.

Select an option

Save pada57/05b5f259b98001bf053c468f9c5e3336 to your computer and use it in GitHub Desktop.
version: '2'
services:
# Define an InfluxDB service
influxdb:
image: influxdb:alpine
volumes:
- D:/docker/data/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
# Define a Chronograf service
chronograf:
image: chronograf
volumes:
- D:/docker/data/chronograf:/var/lib/chronograf
ports:
- "8888:8888"
depends_on:
- influxdb
environment:
- INFLUXDB_URL=http://influxdb:8086
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment