mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 23:35:09 +00:00
fix(pwd): use mariadb healthcheck.sh
This commit is contained in:
parent
e72767546f
commit
05dfe8912f
1 changed files with 5 additions and 3 deletions
8
pwd.yml
8
pwd.yml
|
|
@ -82,9 +82,11 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- frappe_network
|
- frappe_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: mariadb-admin ping -h localhost --password=admin
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||||
interval: 1s
|
start_period: 5s
|
||||||
retries: 20
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue