Skip to content

Commit eaefb31

Browse files
committed
add to tox
1 parent 6ec242e commit eaefb31

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tox.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,20 @@ healtcheck_cmd = python -c "import socket;print(True) if all([0 == socket.socket
109109
volumes =
110110
bind:rw:{toxinidir}/docker/cluster/redis.conf:/redis.conf
111111

112+
[docker:redismod_cluster]
113+
name = redismod_cluster
114+
image = redisfab/redis-py-modcluster:6.2.6
115+
ports =
116+
46379:46379/tcp
117+
46380:46380/tcp
118+
46381:46381/tcp
119+
46382:46382/tcp
120+
46383:46383/tcp
121+
46384:46384/tcp
122+
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"
123+
volumes =
124+
bind:rw:{toxinidir}/docker/redismod_cluster/redis.conf:/redis.conf
125+
112126
[docker:stunnel]
113127
name = stunnel
114128
image = redisfab/stunnel:latest
@@ -262,6 +276,7 @@ docker =
262276
sentinel_3
263277
redis_cluster
264278
redismod
279+
redismod_cluster
265280
stunnel
266281
extras =
267282
hiredis: hiredis

0 commit comments

Comments
 (0)