-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
77 lines (72 loc) · 1.68 KB
/
Copy pathdocker-compose.yml
File metadata and controls
77 lines (72 loc) · 1.68 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
networks:
comesa-net:
name: comesa-net
services:
# comesa-tests:
# networks:
# - comesa-net
# image: infitx-org/comesa-tests:local
# build:
# context: ./
# dockerfile: ./Dockerfile
# # env_file: ./sample.env
# ports:
# - "3000:3000"
# depends_on:
# - redis
# command: npm run start
# volumes:
# - ./config:/opt/app/config
# - ./reports:/opt/app/reports
# - ./ttk-environments:/opt/app/ttk-environments
# user: root
# # healthcheck:
# # test: [
# # "CMD" ,
# # "apk", "add", "--no-cache", "curl",
# # "&&",
# # "curl", "-f", "http://localhost:3000"
# # ]
# # timeout: 20s
# # retries: 10
# # start_period: 40s
# # interval: 30s
redis:
networks:
- comesa-net
image: "redis:6.2.4-alpine"
ports:
- "6379:6379"
healthcheck:
test: ["CMD" ,"sh", "-c", "redis-cli","ping"]
timeout: 20s
retries: 10
start_period: 40s
interval: 30s
ml-testing-toolkit:
networks:
- comesa-net
image: mojaloop/ml-testing-toolkit:v18.9.0
volumes:
- "./docker/ttk/spec_files:/opt/app/spec_files"
- "./ttk-environments:/opt/app/examples/environments"
ports:
- "4040:4040"
- "5050:5050"
environment:
- AUTH_ENABLED=FALSE
command: npm start
user: root
mojaloop-testing-toolkit-ui:
image: mojaloop/ml-testing-toolkit-ui:v16.1.2
ports:
- "6060:6060"
networks:
- comesa-net
environment:
- API_BASE_URL=http://localhost:5050
- AUTH_ENABLED=FALSE
command:
- sh
- /usr/share/nginx/start.sh
user: root