Edited docker-composer, added volume for Grafana
This commit is contained in:
parent
0c673950c3
commit
327c0d13d2
@ -7,9 +7,7 @@ services:
|
|||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
volumes:
|
volumes:
|
||||||
- "./config/prometheus.yml:/etc/prometheus/prometheus.yml"
|
- "./config/prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||||
networks:
|
|
||||||
metrics:
|
|
||||||
aliases: [ 'prometheus' ]
|
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana
|
image: grafana/grafana
|
||||||
ports:
|
ports:
|
||||||
@ -17,9 +15,5 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
GF_SECURITY_ADMIN_USER: admin
|
GF_SECURITY_ADMIN_USER: admin
|
||||||
GF_SECURITY_ADMIN_PASSWORD: admin
|
GF_SECURITY_ADMIN_PASSWORD: admin
|
||||||
networks:
|
volumes:
|
||||||
metrics:
|
- "./appdata/grafana:/var/lib/grafana/"
|
||||||
aliases: [ 'grafana' ]
|
|
||||||
|
|
||||||
networks:
|
|
||||||
metrics:
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user