Setup of prometheus + grafana (once set up manually), configuration is
preserved.master
parent
ba19b2cced
commit
8e9274e132
|
@ -0,0 +1,28 @@
|
|||
version: '3.7'
|
||||
services:
|
||||
prometheus:
|
||||
image: 'prom/prometheus'
|
||||
ports:
|
||||
- '9090:9090'
|
||||
volumes:
|
||||
- 'prometheus-data:/prometheus'
|
||||
networks:
|
||||
- net
|
||||
|
||||
grafana:
|
||||
image: 'grafana/grafana'
|
||||
ports:
|
||||
- '3000:3000'
|
||||
volumes:
|
||||
- 'grafana-storage:/var/lib/grafana'
|
||||
networks:
|
||||
- net
|
||||
|
||||
networks:
|
||||
net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
grafana-storage:
|
||||
prometheus-data:
|
||||
|
Loading…
Reference in New Issue