Skip to content

Instantly share code, notes, and snippets.

@mandeepbal
Created September 14, 2015 18:24
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 mandeepbal/f96f187aa32ef9a8e28d to your computer and use it in GitHub Desktop.
Save mandeepbal/f96f187aa32ef9a8e28d to your computer and use it in GitHub Desktop.
InfluxSrv:
image: "tutum/influxdb:0.8.8"
ports:
- "8083:8083"
- "8086:8086"
expose:
- "8090"
- "8099"
environment:
- PRE_CREATE_DB=cadvisor
cadvisor:
image: "google/cadvisor:0.14.0"
volumes:
- "/:/rootfs:ro"
- "/var/run:/var/run:rw"
- "/sys:/sys:ro"
- "/var/lib/docker/:/var/lib/docker:ro"
links:
- "InfluxSrv:influxsrv"
ports:
- "8080:8080"
command: "-storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influxsrv:8086"
grafana:
image: "grafana/grafana:2.0.2"
ports:
- "3000:3000"
environment:
- INFLUXDB_HOST=localhost
- INFLUXDB_PORT=8086
- INFLUXDB_NAME=cadvisor
- INFLUXDB_USER=root
- INFLUXDB_PASS=root
links:
- "InfluxSrv:influxsrv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment