fix(pwd): use mariadb healthcheck.sh
This commit is contained in:
parent
e72767546f
commit
05dfe8912f
8
pwd.yml
8
pwd.yml
|
|
@ -82,9 +82,11 @@ services:
|
|||
networks:
|
||||
- frappe_network
|
||||
healthcheck:
|
||||
test: mariadb-admin ping -h localhost --password=admin
|
||||
interval: 1s
|
||||
retries: 20
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
start_period: 5s
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
|
|
|||
Loading…
Reference in New Issue