-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdocker-compose.yml
63 lines (59 loc) · 1.34 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "3.7"
services:
mojaloop-testing-toolkit:
#image: mojaloop/ml-testing-toolkit:v15.6.1
image: mojaloop/ml-testing-toolkit:local
build:
context: .
target: builder
user: root
volumes:
- "./spec_files:/opt/app/spec_files"
- "./secrets:/opt/app/secrets"
- "./examples:/opt/app/examples"
environment:
REPORTING_DB_CONNECTION_PASSWORD: ttk@123$asdf
TTK_SYSTEM_CONFIG: |-
{
"DB": {
"HOST": "ttk-mongodb",
"PORT": 27017,
"USER": "ttk",
"PASSWORD": "",
"DATABASE": "admin"
}
}
ports:
- "4040:4040"
- "5050:5050"
command:
- sh
- -c
- "npm start"
mojaloop-testing-toolkit-ui:
image: mojaloop/ml-testing-toolkit-ui:v16.0.0
ports:
- "6060:6060"
environment:
- API_BASE_URL=http://localhost:5050
- AUTH_ENABLED=FALSE
command:
- sh
- /usr/share/nginx/start.sh
ttk-mongodb:
image: mongo:6.0.5
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: ttk
MONGO_INITDB_ROOT_PASSWORD: ttk@123$asdf
ALLOW_EMPTY_PASSWORD: "true"
ports:
- 27017:27017
volumes:
- ttk-db-data:/data/db
networks:
default:
name: mojaloop-testing-toolkit
volumes:
ttk-db-data:
driver: local