forked from oliver006/redis_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
132 lines (113 loc) · 3.3 KB
/
Copy pathdocker-compose.yml
File metadata and controls
132 lines (113 loc) · 3.3 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
services:
valkey9:
image: valkey/valkey:9
command: "valkey-server --enable-debug-command yes --protected-mode no"
ports:
- "16382:6379"
- "6379:6379"
valkey9-tls:
image: valkey/valkey:9
volumes:
- ./contrib/tls:/tls
command: |
valkey-server --enable-debug-command yes --protected-mode no
--tls-port 6379 --port 0
--tls-cert-file /tls/redis.crt
--tls-key-file /tls/redis.key
--tls-ca-cert-file /tls/ca.crt
ports:
- "16386:6379"
valkey8-bundle:
image: valkey/valkey-bundle:8
command: "valkey-server --enable-debug-command yes --protected-mode no"
ports:
- "16389:6379"
valkey8:
image: valkey/valkey:8
command: "valkey-server --enable-debug-command yes --protected-mode no"
ports:
- "16384:6379"
redis8:
image: redis:8
command: "redis-server --enable-debug-command yes --protected-mode no"
ports:
- "16388:6379"
pwd-redis8:
image: redis:8
command: "redis-server --protected-mode no --requirepass redis-password"
ports:
- "16380:6379"
redis7:
image: redis:7.4
command: "redis-server --enable-debug-command yes --protected-mode no"
ports:
- "16385:6379"
redis7-tls:
image: redis:7.4
volumes:
- ./contrib/tls:/tls
command: |
redis-server --enable-debug-command yes --protected-mode no
--tls-port 6379 --port 0
--tls-cert-file /tls/redis.crt
--tls-key-file /tls/redis.key
--tls-ca-cert-file /tls/ca.crt
ports:
- "16387:6379"
pwd-user-redis7:
image: redis:7.4
command: "redis-server --protected-mode no --requirepass dummy --user exporter on +CLIENT +INFO +SELECT +SLOWLOG +LATENCY '>exporter-password'"
ports:
- "16390:6379"
redis6:
image: redis:6.2
command: "redis-server --protected-mode no"
ports:
- "16379:6379"
redis5:
image: redis:5
command: "redis-server"
ports:
- "16383:6379"
keydb-01:
image: "eqalpha/keydb:x86_64_v6.3.4"
command: "keydb-server --protected-mode no"
ports:
- "16401:6379"
keydb-02:
image: "eqalpha/keydb:x86_64_v6.3.1"
command: "keydb-server --protected-mode no --active-replica yes --replicaof keydb-01 6379"
ports:
- "16402:6379"
valkey-cluster:
image: oliver006/valkey-cluster:8.1.3
environment:
- IP=0.0.0.0
ports:
- 7000-7005:7000-7005
- 17000-17005:7000-7005
valkey-cluster-password:
image: oliver006/valkey-cluster:8.1.3
environment:
- IP=0.0.0.0
- INITIAL_PORT=7006
- VALKEY_PASSWORD=redis-password
ports:
- "17006:7006"
valkey-sentinel:
image: valkey/valkey:9
depends_on:
- valkey8
ports:
- "26379:26379"
command: >
sh -c 'echo "sentinel resolve-hostnames yes" > /etc/sentinel.conf &&
echo "sentinel monitor mymaster valkey8 6379 1" >> /etc/sentinel.conf &&
echo "sentinel down-after-milliseconds mymaster 1000" >> /etc/sentinel.conf &&
echo "sentinel failover-timeout mymaster 5000" >> /etc/sentinel.conf &&
echo "sentinel parallel-syncs mymaster 1" >> /etc/sentinel.conf &&
valkey-server /etc/sentinel.conf --sentinel'
tile38:
image: tile38/tile38:latest
ports:
- "19851:9851"