Skip to content

Instantly share code, notes, and snippets.

@tgnm
Created October 18, 2018 19:30
Show Gist options
  • Save tgnm/f0c3a2329799947c39fb87927f39f229 to your computer and use it in GitHub Desktop.
Save tgnm/f0c3a2329799947c39fb87927f39f229 to your computer and use it in GitHub Desktop.
docker-compose: Grafana+InfluxDb
version: '3'
services:
influxdb:
image: influxdb:latest
container_name: influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8090:8090"
environment:
- INFLUXDB_DB=performance
# volumes:
# - /srv/docker/influxdb/data:/var/lib/influxdb
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
# volumes:
# - /srv/docker/grafana/data:/var/lib/grafana
depends_on:
- influxdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment