forked from apollographql/router
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (52 loc) · 1.78 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (52 loc) · 1.78 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
version: "3.9"
services:
redis:
image: redis:latest
security_opt:
- no-new-privileges:true
read_only: true
ports:
- 6379:6379
zipkin:
image: openzipkin/zipkin:latest
security_opt:
- no-new-privileges:true
read_only: true
ports:
- 9411:9411
datadog:
image: ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:latest
security_opt:
- no-new-privileges:true
read_only: true
ports:
- 8126:8126
# redis cluster
redis-cluster-7000:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7000", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-7001:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7001", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-7002:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7002", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-7003:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7003", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-7004:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7004", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-7005:
image: cimg/redis:7.4.6
command: [ "redis-server", "--protected-mode", "no", "--port", "7005", "--cluster-enabled", "yes" ]
network_mode: host
redis-cluster-startup:
image: cimg/redis:7.4.6
command: [ "sh", "-c", "sleep 30; echo yes | redis-cli --cluster create --cluster-replicas 1 localhost:7000 localhost:7001 localhost:7002 localhost:7003 localhost:7004 localhost:7005" ]
network_mode: host