Update Patchmon/docker-compose.yml
Deploy Patchmon / deploy (push) Successful in 19s

This commit is contained in:
2026-07-20 18:12:18 +00:00
parent 60cf09e800
commit 5257b3546b
+10 -6
View File
@@ -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