Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 188e71e

Browse files
committed
Make it easier to run the tests.
Add a docker_compose.yml file configuring a redis cluster instance for running the tests against.
1 parent 7c87352 commit 188e71e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

docs/cluster-setup.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A fully functional docker image can be found at https://github.com/Grokzen/docke
1919

2020
See repo `README` for detailed instructions how to setup and run.
2121

22-
22+
A docker_compose.yml file is included in the test suite, which can be used to run a redis cluster configured appropriately to run the tests against.
2323

2424
Vagrant
2525
-------

tests/docker_compose.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: "3.7"
2+
3+
services:
4+
5+
redis:
6+
image: grokzen/redis-cluster:latest
7+
environment:
8+
REDIS_PORT: 7000
9+
BIND_ADDRESS: 0.0.0.0
10+
ports:
11+
- "7000:7000"
12+
- "7001:7001"
13+
- "7002:7002"
14+
- "7003:7003"
15+
- "7004:7004"
16+
- "7005:7005"
17+
- "7006:7006"
18+
- "7007:7007"
19+
# Catch signals (in particular, termination)
20+
init: true

0 commit comments

Comments
 (0)