Add combined deployment health check

This commit is contained in:
Andrie
2026-06-12 08:31:30 +07:00
parent 29424f45f9
commit d6bed6618c
2 changed files with 74 additions and 0 deletions
+6
View File
@@ -16,6 +16,12 @@ services:
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "php /var/www/html/health.php --check"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
db:
image: mariadb:11.4