Changed mariadb healthcheck
This commit is contained in:
committed by
Arnold Gálovics
parent
b146b582aa
commit
9c3393394e
@@ -24,7 +24,7 @@ jobs:
|
||||
- name: Start the stack
|
||||
run: docker-compose up -d
|
||||
- name: Wait for stack to come up
|
||||
run: sleep 120
|
||||
run: sleep 300
|
||||
- name: Check health
|
||||
run: curl -f -k --retry 10 --retry-connrefused --connect-timeout 30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health
|
||||
- name: Check info
|
||||
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
- 3306:3306
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: mysql
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||
options: --health-cmd="healthcheck.sh --su-mysql --connect --innodb_initialized" --health-interval=5s --health-timeout=2s --health-retries=3
|
||||
|
||||
mock-oauth2-server:
|
||||
image: ghcr.io/navikt/mock-oauth2-server:0.5.9
|
||||
|
||||
Reference in New Issue
Block a user