change grafana to dockerfile to add munin after

This commit is contained in:
tuanvu
2026-02-13 20:04:15 +01:00
parent 94c9a56a6a
commit eb4d3caa8d
3 changed files with 9 additions and 2 deletions

View File

@@ -12,11 +12,16 @@ services:
- ../prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
command:
- "--config.file=/etc/prometheus/prometheus.yml"
depends_on:
- back
- db
networks:
- app-network
grafana:
image: grafana/grafana:latest
build:
context: ..
dockerfile: dockerfiles/grafana/Dockerfile
container_name: grafana
restart: unless-stopped
volumes:

View File

@@ -0,0 +1,2 @@
FROM grafana/grafana:latest
RUN grafana-cli plugins install grafana-munin-datasource