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