FINERACT-1025: Upgrade Docker Compose and fix MySQL heartbeat

This commit is contained in:
Petri Tuomola
2020-06-08 19:30:20 +01:00
committed by Yemdjih Kaze Nasser
parent e0f8bc5e46
commit 4ba33daa74
+4 -5
View File
@@ -16,9 +16,9 @@
# under the License. # under the License.
# #
# NB: Travis CI (dist: trusty) supports only v3.3 # NB: Travis CI (dist: bionic) supports up to v3.7
# (unless we'd install a more recent version in .travis.yml) # (unless we'd install a more recent version in .travis.yml)
version: '3.3' version: '3.7'
services: services:
# Backend service # Backend service
fineractmysql: fineractmysql:
@@ -29,7 +29,7 @@ services:
environment: environment:
MYSQL_ROOT_PASSWORD: skdcnwauicn2ucnaecasdsajdnizucawencascdca MYSQL_ROOT_PASSWORD: skdcnwauicn2ucnaecasdsajdnizucawencascdca
healthcheck: healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--password=skdcnwauicn2ucnaecasdsajdnizucawencascdca" ]
timeout: 10s timeout: 10s
retries: 10 retries: 10
ports: ports:
@@ -37,8 +37,7 @@ services:
fineract-server: fineract-server:
build: build:
context: . context: .
# NB: Target is Docker Compose 3.4+ only (but it works without as well) target: fineract
# target: fineract
ports: ports:
- 8443:8443 - 8443:8443
depends_on: depends_on: