Created
October 18, 2018 19:30
-
-
Save tgnm/f0c3a2329799947c39fb87927f39f229 to your computer and use it in GitHub Desktop.
docker-compose: Grafana+InfluxDb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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