From 5257b3546bb29e224a419e1ece994bf5eaeed458 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 20 Jul 2026 18:12:18 +0000 Subject: [PATCH] Update Patchmon/docker-compose.yml --- Patchmon/docker-compose.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Patchmon/docker-compose.yml b/Patchmon/docker-compose.yml index f79603a..2d2203c 100644 --- a/Patchmon/docker-compose.yml +++ b/Patchmon/docker-compose.yml @@ -26,7 +26,8 @@ services: ports: - "3000:3000" networks: - - patchmon-internal + - internal + - external depends_on: database: condition: service_healthy @@ -47,7 +48,7 @@ services: volumes: - postgres_data:/var/lib/postgresql/data networks: - - patchmon-internal + - internal healthcheck: test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] interval: 3s @@ -67,7 +68,7 @@ services: volumes: - redis_data:/data networks: - - patchmon-internal + - internal healthcheck: test: ["CMD", "redis-cli", "--no-auth-warning", "-a", "${REDIS_PASSWORD}", "ping"] interval: 3s @@ -92,7 +93,8 @@ services: mem_limit: 512m cpus: '1.0' networks: - - patchmon-internal + - internal + - external healthcheck: test: ["CMD-SHELL", "nc -z localhost 4822 || exit 1"] interval: 10s @@ -110,5 +112,7 @@ volumes: redis_data: networks: - patchmon-internal: - driver: bridge + internal: + external: true # Tells Compose not to create this network + external: + external: true # Tells Compose not to create this network