re-enable healtchecks
This commit is contained in:
parent
bdb4f51d0b
commit
56e73c981b
26
compose.yml
26
compose.yml
|
@ -16,13 +16,12 @@ services:
|
|||
mode: 0555
|
||||
secrets:
|
||||
- db_password
|
||||
# TODO: activate health check when done with debug
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/fpm-ping"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 3
|
||||
# start_period: 1m
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/fpm-ping"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 1m
|
||||
deploy:
|
||||
update_config:
|
||||
failure_action: rollback
|
||||
|
@ -48,13 +47,12 @@ services:
|
|||
secrets:
|
||||
- db_password
|
||||
- db_root_password
|
||||
# TODO: activate health check when done with debug
|
||||
# healthcheck:
|
||||
# test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized"]
|
||||
# interval: 30s
|
||||
# timeout: 30s
|
||||
# retries: 3
|
||||
# start_period: 1m
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect", "--innodb_initialized"]
|
||||
interval: 30s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
start_period: 1m
|
||||
deploy:
|
||||
labels: [ 'coop-cloud.${STACK_NAME}.db.version=10.5-31e52f4d87a' ]
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue