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