mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +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
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue