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

Commit

Permalink
Make it easier to run the tests.
Browse files Browse the repository at this point in the history
Add a docker-compose.yml file configuring a redis cluster instance for running the tests against.
  • Loading branch information
JonathanWylie committed Nov 11, 2021
1 parent 7c87352 commit dffbd52
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cluster-setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A fully functional docker image can be found at https://github.com/Grokzen/docke

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


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.

Vagrant
-------
Expand Down
20 changes: 20 additions & 0 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "3.7"

services:

redis:
image: grokzen/redis-cluster:latest
environment:
REDIS_PORT: 7000
BIND_ADDRESS: 0.0.0.0
ports:
- "7000:7000"
- "7001:7001"
- "7002:7002"
- "7003:7003"
- "7004:7004"
- "7005:7005"
- "7006:7006"
- "7007:7007"
# Catch signals (in particular, termination)
init: true

0 comments on commit dffbd52

Please sign in to comment.