ops(deploy): app healthcheck via wget /healthz

This commit is contained in:
2026-04-29 11:49:21 +08:00
parent 3fd6bd82e3
commit fc0724fc0b
+6
View File
@@ -33,6 +33,12 @@ services:
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/healthz"]
interval: 10s
timeout: 5s
retries: 6
start_period: 30s
volumes:
acw-pg-data: