-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 885 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (45 loc) · 885 Bytes
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
---
services:
mock-pdc:
build: .
container_name: mock-pdc
command: ["pmu", "mock-pdc", "--ip", "mock-pdc", "--port", "8123"]
ports:
- "8123:8123"
volumes:
- ./tests/test_data:/app/tests/test_data
networks:
- pmu-network
#healthcheck:
# test: ["CMD", "nc", "-z", "localhost", "8123"]
# interval: 5s
# timeout: 3s
# retries: 10
pmu-server:
build: .
container_name: pmu-server
command:
[
"pmu",
"server",
"--pdc-ip",
"mock-pdc",
"--pdc-port",
"8123",
"--pdc-idcode",
"8080",
"--http-port",
"7734",
"--duration",
"120",
]
ports:
- "7734:7734"
networks:
- pmu-network
#depends_on:
# mock-pdc:
#condition: service_healthy
networks:
pmu-network:
driver: bridge