-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
59 lines (53 loc) · 1.62 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
version: "2.0"
networks:
network_scruid: {}
services:
scruid_druid:
image: "docker.pkg.github.com/${REPOSITORY_OWNER}/druid:${DRUID_VERSION}"
container_name: scruid_druid
ports:
- "8081:8081"
- "8082:8082"
- "8183:8082"
- "8184:8082"
- "8888:8888"
networks:
- network_scruid
delay_response:
image: "docker.pkg.github.com/${REPOSITORY_OWNER}/clusterf-chaos-proxy:${CHAOS_PROXY_VERSION}"
container_name: delay_response
depends_on:
- scruid_druid
links:
- scruid_druid
environment:
JAVA_OPTS: "-Dserver.port=8090 -Dchaos.strategy=DELAY_RESPONSE -Dchaos.strategy.delayResponse.fixedPeriod=false -Dchaos.strategy.delayResponse.random.maxSeconds=1 -Ddestination.hostProtocolAndPort=http://scruid_druid:8082"
ports:
- "8185:8090"
networks:
- network_scruid
always_fail_500:
image: "docker.pkg.github.com/${REPOSITORY_OWNER}/clusterf-chaos-proxy:${CHAOS_PROXY_VERSION}"
container_name: always_fail_500
depends_on:
- scruid_druid
links:
- scruid_druid
environment:
JAVA_OPTS: "-Dserver.port=8090 -Dchaos.strategy=INTERNAL_SERVER_ERROR -Ddestination.hostProtocolAndPort=http://scruid_druid:8082"
ports:
- "8186:8090"
networks:
- network_scruid
slow_response:
image: "docker.pkg.github.com/${REPOSITORY_OWNER}/openresty:${OPENRESTY_VERSION}-alpine"
container_name: slow_response
depends_on:
- scruid_druid
links:
- scruid_druid
ports:
- "8187:8080" # Slow response
- "8188:8081" # Basic authentication
networks:
- network_scruid