-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc52f9f
commit edddd95
Showing
19 changed files
with
176 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,6 @@ README.md | |
docker/ | ||
tests/ | ||
docs/design/ | ||
init.sh | ||
Dockerfile | ||
docker-compose* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
version: '3.9' | ||
|
||
services: | ||
|
||
redis-node-1: | ||
image: redis:7.2.4 | ||
container_name: redis-node-1 | ||
links: | ||
- redis-node-2 | ||
- redis-node-3 | ||
- redis-node-4 | ||
- redis-node-5 | ||
- redis-node-6 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-1-data:/data | ||
ports: | ||
- "7000:6379" | ||
|
||
redis-node-2: | ||
image: redis:7.2.4 | ||
container_name: redis-node-2 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-2-data:/data | ||
ports: | ||
- "7001:6379" | ||
|
||
redis-node-3: | ||
image: redis:7.2.4 | ||
container_name: redis-node-3 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-3-data:/data | ||
ports: | ||
- "7002:6379" | ||
|
||
redis-node-4: | ||
image: redis:7.2.4 | ||
container_name: redis-node-4 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-4-data:/data | ||
ports: | ||
- "7003:6379" | ||
|
||
redis-node-5: | ||
image: redis:7.2.4 | ||
container_name: redis-node-5 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-5-data:/data | ||
ports: | ||
- "7004:6379" | ||
|
||
redis-node-6: | ||
image: redis:7.2.4 | ||
container_name: redis-node-6 | ||
command: redis-server --port 6379 --bind 0.0.0.0 --cluster-enabled yes --cluster-node-timeout 5000 --cluster-config-file nodes.conf --requirepass password --masterauth password --protected-mode no | ||
restart: always | ||
volumes: | ||
- redis-node-6-data:/data | ||
ports: | ||
- "7005:6379" | ||
|
||
volumes: | ||
redis-node-1-data: | ||
redis-node-2-data: | ||
redis-node-3-data: | ||
redis-node-4-data: | ||
redis-node-5-data: | ||
redis-node-6-data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cluster-enabled yes | ||
cluster-config-file nodes.conf | ||
cluster-node-timeout 5000 | ||
appendonly no | ||
protected-mode no | ||
bind 0.0.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
|
||
# Stop and remove containers | ||
docker-compose -f docker-compose.windows.yml down -v | ||
|
||
# Build Docker images | ||
docker-compose -f docker-compose.windows.yml build | ||
|
||
# Start all services | ||
docker-compose -f docker-compose.windows.yml up -d | ||
docker-compose -f docker-compose.windows.yml up |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.