mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
ensure default health check values
This commit is contained in:
parent
ead7c33275
commit
62efe8b3d4
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ services:
|
|||
- redis
|
||||
healthcheck:
|
||||
test: gosu www-data php artisan horizon:status | grep running
|
||||
interval: "${DOCKER_WORKER_HEALTHCHECK_INTERVAL}"
|
||||
interval: "${DOCKER_WORKER_HEALTHCHECK_INTERVAL:-10s}"
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
|
||||
|
@ -170,6 +170,6 @@ services:
|
|||
- "${DOCKER_REDIS_PORT_EXTERNAL}:6379"
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "-p", "6379", "ping"]
|
||||
interval: "${DOCKER_REDIS_HEALTHCHECK_INTERVAL}"
|
||||
interval: "${DOCKER_REDIS_HEALTHCHECK_INTERVAL:-10s}"
|
||||
retries: 2
|
||||
timeout: 5s
|
||||
|
|
Loading…
Reference in a new issue