added healthchecks and removed exposed password from compose.yaml

This commit is contained in:
2026-07-24 12:03:33 +00:00
parent 1df84fe52a
commit 499bf411b0
7 changed files with 83 additions and 5 deletions
+10
View File
@@ -29,6 +29,7 @@ services:
networks:
- reverse_proxy_default
- postgre-general
logging:
driver: "json-file"
@@ -39,6 +40,15 @@ services:
ports:
- "2001:22"
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:3000/api/healthz || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
reverse_proxy_default:
external: true
postgre-general:
external: true