change grafana to dockerfile to add munin after
This commit is contained in:
@@ -12,11 +12,16 @@ services:
|
|||||||
- ../prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
- ../prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||||
command:
|
command:
|
||||||
- "--config.file=/etc/prometheus/prometheus.yml"
|
- "--config.file=/etc/prometheus/prometheus.yml"
|
||||||
|
depends_on:
|
||||||
|
- back
|
||||||
|
- db
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana:latest
|
build:
|
||||||
|
context: ..
|
||||||
|
dockerfile: dockerfiles/grafana/Dockerfile
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
2
dockerfiles/grafana/Dockerfile
Normal file
2
dockerfiles/grafana/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
FROM grafana/grafana:latest
|
||||||
|
RUN grafana-cli plugins install grafana-munin-datasource
|
||||||
Reference in New Issue
Block a user