Setup of prometheus + grafana (once set up manually), configuration is

preserved.
master
Tomasz Półgrabia 2024-12-11 20:43:02 +01:00
parent ba19b2cced
commit 8e9274e132
1 changed files with 28 additions and 0 deletions

View File

@ -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: