Last active
January 15, 2016 23:27
-
-
Save H2so4/4cdc9c18ba6fe8bea15e to your computer and use it in GitHub Desktop.
docker monitoring compose
This file contains hidden or 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
influxsrv: | |
image: tutum/influxdb:0.8.8 | |
name: influxsrv | |
volumes: | |
- ./data:/data | |
ports: | |
- "8083:8083" | |
- "8086:8086" | |
expose: | |
- "8090" | |
- "8099" | |
environment: | |
- PRE_CREATE_DB=cadvisor | |
cadvisor: | |
image: google/cadvisor | |
name: cadvisor | |
command: -storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influxsrv:8086 | |
ports: | |
- "8080:8080" | |
volumes: | |
- /:/rootfs:ro | |
- /var/run:/var/run:rw | |
- /sys:/sys:ro | |
- /var/lib/docker/:/var/lib/docker:ro | |
links: | |
- influxsrv:influxsrv | |
grafana: | |
image: grafana/grafana | |
name: grafana | |
ports: | |
- "3000:3000" | |
links: | |
- influxsrv:influxsrv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment