Skip to content

Instantly share code, notes, and snippets.

@NeMO84
Created November 14, 2015 09:18
Show Gist options
  • Save NeMO84/4c28631757e8c320ff41 to your computer and use it in GitHub Desktop.
Save NeMO84/4c28631757e8c320ff41 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"
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"
ports:
- "3000:3000"
environment:
- INFLUXDB_HOST=influxsrv
- 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