-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdocker-compose.pm4ml.yml
43 lines (38 loc) · 1.08 KB
/
docker-compose.pm4ml.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
version: '3.7'
services:
sdk-scheme-adapter-api-svc:
env_file: ./modules/api-svc/test/config/integration-pm4ml.env
depends_on:
- mock-management-svc
command: yarn nx run modules-api-svc:start
mock-management-svc:
networks:
- mojaloop-net
image: mojaloop/sdk-scheme-adapter:local
build:
context: ./
dockerfile: ./Dockerfile
ports:
- "4005:4005"
- "5005:5005"
command: yarn nx run modules-api-svc:test:pm4ml-run-mock-servers
user: root # Set Root so we can install Curl for Healthchecks
healthcheck:
test: ["CMD-SHELL", "nc localhost 4005"]
interval: 5s
timeout: 10s
retries: 3
hubsimulator:
networks:
- mojaloop-net
image: haproxy:2.8.1-alpine
depends_on:
- ml-testing-toolkit
links:
- ml-testing-toolkit:ml-testing-toolkit
volumes:
- ./docker/haproxy/certs:/usr/local/etc/haproxy/certs
- ./docker/haproxy/tls:/usr/local/etc/haproxy/tls
- ./docker/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg
ports:
- "8443:8443"