Add healthcheck so DB is up before Fineract starts
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
1bf357171a
commit
f9ab8143e4
@@ -25,6 +25,10 @@ services:
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
ports:
|
||||
- "3306:3306"
|
||||
fineract-server:
|
||||
|
||||
Reference in New Issue
Block a user