Advertisement
Guest User

Untitled

a guest
Jan 15th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. 1. Install docker
  2. yum install docker
  3.  
  4. 2. Install docker-compose
  5. sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
  6. sudo chmod +x /usr/local/bin/docker-compose
  7.  
  8. 3. Install prometheus + grafana
  9. cd /root
  10. git clone https://github.com/stefanprodan/dockprom
  11.  
  12. 4. Start for the first time
  13. cd /root/dockprom
  14. ADMIN_USER=admin ADMIN_PASSWORD=admin docker-compose up -d
  15.  
  16. 5. Stop
  17. cd /root/dockprom
  18. docker-compose down
  19.  
  20. 6. Add target to prometheus
  21. nano /root/dockprom/prometheus/prometheus.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement