From 2fd62fba75fa1e98827465c2a9bc05a73d470b90 Mon Sep 17 00:00:00 2001 From: RM Date: Thu, 15 Oct 2026 12:17:33 +0300 Subject: [PATCH] add monitoring network --- docker-compose.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 5c9be67..e4ac435 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -14,6 +14,9 @@ services: - SPRING_CLOUD_CONFIG_URI=http://192.168.2.22:10022 - SPRING_CLOUD_CONFIG_PROFILE=prod restart: always + networks: + - default + - monitoring healthcheck: test: wget --no-verbose --tries=1 --spider http://localhost:8181/health || exit 1 interval: 20s @@ -58,6 +61,6 @@ services: - client-backend restart: always -volumes: - db-data: - pgadmin-data: \ No newline at end of file +networks: + monitoring: + external: true \ No newline at end of file