Skip to content

Commit 7fa1516

Browse files
authored
Update docker-compose.yml
1 parent 4e56a78 commit 7fa1516

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

mariadb/docker-compose.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.7'
22
services:
33
# Frontend service
44
web-app:
5-
image: openmf/web-app:master
5+
image: openmf/web-app:1.11
66
restart: always
77
environment:
88
- FINERACT_API_URLS=http://localhost:8080
@@ -18,9 +18,9 @@ services:
1818
- 80:80
1919
# Database service
2020
fineractmysql:
21-
image: mariadb:11.7.2
21+
image: mariadb:11.4
2222
ports:
23-
- 3308:3306
23+
- 3306:3306
2424
volumes:
2525
#Remove comment for data persistence
2626
# - ./fineract-db/data:/var/lib/mysql
@@ -30,13 +30,15 @@ services:
3030
restart: always
3131
environment:
3232
MYSQL_ROOT_PASSWORD: skdcnwauicn2ucnaecasdsajdnizucawencascdca
33-
# healthcheck:
34-
# test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--password=skdcnwauicn2ucnaecasdsajdnizucawencascdca" ]
35-
# timeout: 10s
36-
# retries: 10
33+
healthcheck:
34+
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
35+
start_period: 10s
36+
interval: 10s
37+
timeout: 5s
38+
retries: 3
3739
# Backend service
3840
fineract-server:
39-
image: openmf/fineract:develop
41+
image: openmf/fineract:1.11
4042
volumes:
4143
- ./fineract-server/data:/data
4244
healthcheck:
@@ -45,9 +47,9 @@ services:
4547
retries: 10
4648
ports:
4749
- 8080:8080
48-
# depends_on:
49-
# fineractmysql:
50-
# condition: service_healthy
50+
depends_on:
51+
fineractmysql:
52+
condition: service_healthy
5153
environment:
5254
# NOTE: node aware scheduler
5355
- FINERACT_NODE_ID=1

0 commit comments

Comments
 (0)