@@ -21,7 +21,6 @@ name = master
21
21
image = redisfab/redis-py:6.2.6-buster
22
22
ports =
23
23
6379:6379/tcp
24
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6379)) else False"
25
24
volumes =
26
25
bind:rw:{toxinidir}/docker/redis6.2/master/redis.conf:/redis.conf
27
26
@@ -32,7 +31,6 @@ links =
32
31
master:master
33
32
ports =
34
33
6380:6380/tcp
35
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6380)) else False"
36
34
volumes =
37
35
bind:rw:{toxinidir}/docker/redis6.2/replica/redis.conf:/redis.conf
38
36
@@ -41,7 +39,6 @@ name = unstable
41
39
image = redisfab/redis-py:unstable-bionic
42
40
ports =
43
41
6378:6378/tcp
44
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6378)) else False"
45
42
volumes =
46
43
bind:rw:{toxinidir}/docker/unstable/redis.conf:/redis.conf
47
44
@@ -55,7 +52,6 @@ ports =
55
52
6375:6375/tcp
56
53
6376:6376/tcp
57
54
6377:6377/tcp
58
- healtcheck_cmd = python -c " import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(6372,6377)]) else False"
59
55
volumes =
60
56
bind:rw:{toxinidir}/docker/unstable_cluster/redis.conf:/redis.conf
61
57
@@ -66,7 +62,6 @@ links =
66
62
master:master
67
63
ports =
68
64
26379:26379/tcp
69
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26379)) else False"
70
65
volumes =
71
66
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_1.conf:/sentinel.conf
72
67
@@ -77,7 +72,6 @@ links =
77
72
master:master
78
73
ports =
79
74
26380:26380/tcp
80
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26380)) else False"
81
75
volumes =
82
76
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_2.conf:/sentinel.conf
83
77
@@ -88,7 +82,6 @@ links =
88
82
master:master
89
83
ports =
90
84
26381:26381/tcp
91
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26381)) else False"
92
85
volumes =
93
86
bind:rw:{toxinidir}/docker/redis6.2/sentinel/sentinel_3.conf:/sentinel.conf
94
87
@@ -97,7 +90,6 @@ name = redismod
97
90
image = redislabs/redismod:edge
98
91
ports =
99
92
36379:6379/tcp
100
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',36379)) else False"
101
93
102
94
[docker:redis_cluster]
103
95
name = redis_cluster
@@ -109,7 +101,6 @@ ports =
109
101
16382:16382/tcp
110
102
16383:16383/tcp
111
103
16384:16384/tcp
112
- healtcheck_cmd = python -c " import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16379,16384)]) else False"
113
104
volumes =
114
105
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
115
106
@@ -123,14 +114,12 @@ ports =
123
114
46382:46382/tcp
124
115
46383:46383/tcp
125
116
46384:46384/tcp
126
- healtcheck_cmd = python -c " import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(46379,46384)]) else False"
127
117
volumes =
128
118
bind:rw:{toxinidir}/docker/redismod_cluster/redis.conf:/redis.conf
129
119
130
120
[docker:stunnel]
131
121
name = stunnel
132
122
image = redisfab/stunnel:latest
133
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6666)) else False"
134
123
links =
135
124
master:master
136
125
ports =
@@ -144,7 +133,6 @@ name = redis5_master
144
133
image = redisfab/redis-py:5.0-buster
145
134
ports =
146
135
6382:6382/tcp
147
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6382)) else False"
148
136
volumes =
149
137
bind:rw:{toxinidir}/docker/redis5/master/redis.conf:/redis.conf
150
138
@@ -155,7 +143,6 @@ links =
155
143
redis5_master:redis5_master
156
144
ports =
157
145
6383:6383/tcp
158
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6383)) else False"
159
146
volumes =
160
147
bind:rw:{toxinidir}/docker/redis5/replica/redis.conf:/redis.conf
161
148
@@ -166,7 +153,6 @@ links =
166
153
redis5_master:redis5_master
167
154
ports =
168
155
26382:26382/tcp
169
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26382)) else False"
170
156
volumes =
171
157
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_1.conf:/sentinel.conf
172
158
@@ -177,7 +163,6 @@ links =
177
163
redis5_master:redis5_master
178
164
ports =
179
165
26383:26383/tcp
180
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26383)) else False"
181
166
volumes =
182
167
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_2.conf:/sentinel.conf
183
168
@@ -188,7 +173,6 @@ links =
188
173
redis5_master:redis5_master
189
174
ports =
190
175
26384:26384/tcp
191
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26384)) else False"
192
176
volumes =
193
177
bind:rw:{toxinidir}/docker/redis5/sentinel/sentinel_3.conf:/sentinel.conf
194
178
@@ -202,7 +186,6 @@ ports =
202
186
16388:16388/tcp
203
187
16389:16389/tcp
204
188
16390:16390/tcp
205
- healtcheck_cmd = python -c " import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16385,16390)]) else False"
206
189
volumes =
207
190
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
208
191
@@ -211,7 +194,6 @@ name = redis4_master
211
194
image = redisfab/redis-py:4.0-buster
212
195
ports =
213
196
6381:6381/tcp
214
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',6381)) else False"
215
197
volumes =
216
198
bind:rw:{toxinidir}/docker/redis4/master/redis.conf:/redis.conf
217
199
@@ -222,7 +204,6 @@ links =
222
204
redis4_master:redis4_master
223
205
ports =
224
206
26385:26385/tcp
225
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26385)) else False"
226
207
volumes =
227
208
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_1.conf:/sentinel.conf
228
209
@@ -233,7 +214,6 @@ links =
233
214
redis4_master:redis4_master
234
215
ports =
235
216
26386:26386/tcp
236
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26386)) else False"
237
217
volumes =
238
218
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_2.conf:/sentinel.conf
239
219
@@ -244,7 +224,6 @@ links =
244
224
redis4_master:redis4_master
245
225
ports =
246
226
26387:26387/tcp
247
- healtcheck_cmd = python -c " import socket;print(True) if 0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',26387)) else False"
248
227
volumes =
249
228
bind:rw:{toxinidir}/docker/redis4/sentinel/sentinel_3.conf:/sentinel.conf
250
229
@@ -258,7 +237,6 @@ ports =
258
237
16394:16394/tcp
259
238
16395:16395/tcp
260
239
16396:16396/tcp
261
- healtcheck_cmd = python -c " import socket;print(True) if all([0 == socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect_ex(('127.0.0.1',port)) for port in range(16391,16396)]) else False"
262
240
volumes =
263
241
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
264
242
0 commit comments