Add combined deployment health check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user