feat: add runtime config initialization in manage-tenant.sh and update health check method in docker-compose

This commit is contained in:
2026-05-19 20:53:50 +02:00
parent 8b114b5b8e
commit b572704381
2 changed files with 47 additions and 1 deletions
+7 -1
View File
@@ -144,7 +144,13 @@ services:
# Health check for load balancer
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health', timeout=5).read(); print('OK')"
]
interval: 30s
timeout: 10s
retries: 3