-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
52 lines (47 loc) · 1.09 KB
/
docker-compose.yaml
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
version: '3.4'
services:
polly:
build:
context: ./clients/polly
container_name: polly
depends_on:
- server
resilience4j:
build:
context: ./clients/resilience4j
container_name: resilience4j
depends_on:
- server
cockatiel:
build:
context: ./clients/cockatiel
container_name: cockatiel
depends_on:
- server
scheduler:
build:
context: ./scheduler
container_name: scheduler
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./samples/config-all-delay.json:/opt/app/conf/conf.json
- ./results:/opt/app/resilience-tests
environment:
- DISK_PATH=/opt/app/resilience-tests
- CONFIG_FILE=/opt/app/conf/conf.json
- ENVOY_FAULT_INJECTION_PATH=/opt/app/fault-injection
- DOCKER_HOST=/var/run/docker.sock
- TIME_ZONE=America/Sao_Paulo
depends_on:
- resilience4j
- polly
- server
server:
build:
context: server
container_name: server
ports:
- 9901:9901
- 9211:9211
volumes:
- ./runtime:/srv/runtime