add grafana and alertmanager to metrics network
This commit is contained in:
parent
0ccb52327f
commit
33a1700d3c
@ -35,9 +35,14 @@ services:
|
||||
- ./grafana-ds.yml:/etc/grafana/provisioning/datasources/datasource.yml:ro,Z
|
||||
- ./grafana-db.yml:/etc/grafana/provisioning/dashboards/datasource.yml:ro,Z
|
||||
- ./grafana-dashboards:/var/lib/grafana/dashboards:ro,Z
|
||||
networks:
|
||||
- default
|
||||
- metrics
|
||||
|
||||
volumes:
|
||||
data:
|
||||
networks:
|
||||
backend:
|
||||
internal: true
|
||||
metrics:
|
||||
external: true
|
||||
|
@ -37,8 +37,9 @@ services:
|
||||
- ./alertmanager.yml:/etc/alertmanager/config.yml:ro,Z
|
||||
- alertmanager_data:/data
|
||||
networks:
|
||||
- backend
|
||||
- alertmanager
|
||||
- backend
|
||||
- metrics
|
||||
- default
|
||||
restart: unless-stopped
|
||||
command:
|
||||
@ -77,4 +78,6 @@ networks:
|
||||
external: true
|
||||
backend:
|
||||
internal: true
|
||||
metrics:
|
||||
external: true
|
||||
alertmanager:
|
||||
|
Loading…
Reference in New Issue
Block a user