ensure default health check values

This commit is contained in:
Christian Winther 2024-01-17 16:18:29 +00:00
parent ead7c33275
commit 62efe8b3d4

View file

@ -126,7 +126,7 @@ services:
- redis - redis
healthcheck: healthcheck:
test: gosu www-data php artisan horizon:status | grep running test: gosu www-data php artisan horizon:status | grep running
interval: "${DOCKER_WORKER_HEALTHCHECK_INTERVAL}" interval: "${DOCKER_WORKER_HEALTHCHECK_INTERVAL:-10s}"
timeout: 5s timeout: 5s
retries: 2 retries: 2
@ -170,6 +170,6 @@ services:
- "${DOCKER_REDIS_PORT_EXTERNAL}:6379" - "${DOCKER_REDIS_PORT_EXTERNAL}:6379"
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "-p", "6379", "ping"] test: ["CMD", "redis-cli", "-p", "6379", "ping"]
interval: "${DOCKER_REDIS_HEALTHCHECK_INTERVAL}" interval: "${DOCKER_REDIS_HEALTHCHECK_INTERVAL:-10s}"
retries: 2 retries: 2
timeout: 5s timeout: 5s