daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Jun 7th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2.  
  3. networks:
  4.   default:
  5.     external:
  6.       name: soitic
  7.  
  8. services:
  9.        
  10.   influxsrv:
  11.     image: tutum/influxdb:0.8.8
  12.     ports:
  13.       - "8083:8083"
  14.       - "8086:8086"
  15.     expose:
  16.       - "8090"
  17.       - "8099"
  18.     environment:
  19.       - ADMIN_USER="devops"
  20.       - INFLUXDB_INIT_PWD="xxxxx"
  21.       - PRE_CREATE_DB=cadvisor
  22.   cadvisor:
  23.     image: google/cadvisor
  24.     command: -storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influxsrv:8086
  25.     ports:
  26.       - "8080:8080"
  27.     volumes:
  28.       - /:/rootfs:ro
  29.       - /var/run:/var/run:rw
  30.       - /sys:/sys:ro
  31.       - /var/lib/docker/:/var/lib/docker:ro
  32.     links:
  33.       - influxsrv:influxsrv
  34.   grafana:
  35.     image: grafana/grafana
  36.     ports:
  37.       - "3000:3000"
  38.     links:
  39.       - influxsrv:influxsrv
  40.     environment:
  41.       - INFLUXDB_HOST=localhost
  42.       - INFLUXDB_PORT=8086
  43.       - INFLUXDB_NAME=cadvisor
  44.       - INFLUXDB_USER=devops
  45.       - INFLUXDB_PASS=xxxxxx
  46.       - "GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top