Guest User

Untitled

a guest
Aug 8th, 2020
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. version: '2'
  2. services:
  3. prometheus:
  4. image: prom/prometheus:latest
  5. volumes:
  6. - prometheus_data:/prometheus
  7. - ./prometheus/prometheus.yml:D:/Programming/monitoring/prometheus/prometheus.yml
  8. command:
  9. - '--config.file=D:/Programming/monitoring/prometheus/prometheus.yml'
  10. ports:
  11. - '9090:9090'
  12. grafana:
  13. image: grafana/grafana:latest
  14. volumes:
  15. - grafana_data:/var/lib/grafana
  16. - ./grafana/provisioning:/etc/grafana/provisioning
  17. - ./grafana/config.ini:/etc/grafana/config.ini
  18. - ./grafana/dashboards:/var/lib/grafana/dashboards
  19. environment:
  20. - GF_SECURITY_ADMIN_PASSWORD=illchangeitanyway
  21. depends_on:
  22. - prometheus
  23. ports:
  24. - '3000:3000'
  25. app:
  26. build:
  27. context: D:/Programming/monitoring/app
  28. dockerfile: D:/Programming/monitoring/app/DockerFile
  29. ports:
  30. - '9200:9200'
  31. command: 'index.js'
  32.  
  33.  
  34. volumes:
  35. prometheus_data: {}
  36. grafana_data: {}
  37.  
Advertisement
Add Comment
Please, Sign In to add comment