diff --git a/ansible/plays/services/grafana/docker-compose.yaml b/ansible/plays/services/grafana/docker-compose.yaml index 4362b52..8967329 100644 --- a/ansible/plays/services/grafana/docker-compose.yaml +++ b/ansible/plays/services/grafana/docker-compose.yaml @@ -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 diff --git a/ansible/plays/services/mimir/docker-compose.yaml b/ansible/plays/services/mimir/docker-compose.yaml index fcdd4d0..66c42e6 100644 --- a/ansible/plays/services/mimir/docker-compose.yaml +++ b/ansible/plays/services/mimir/docker-compose.yaml @@ -38,8 +38,9 @@ services: - ./alertmanager.yml:/etc/alertmanager/config.yml:ro,Z - alertmanager_data:/data networks: - - backend - alertmanager + - backend + - metrics - default restart: unless-stopped command: @@ -78,4 +79,6 @@ networks: external: true backend: internal: true + metrics: + external: true alertmanager: