Skip to content

Commit

Permalink
misc: 6 nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Jan 8, 2025
1 parent 1b6e758 commit 082bf8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion config/redis/node.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ acllog-max-len 128
# limit for maxmemory so that there is some free RAM on the system for replica
# output buffers (but this is not needed if the policy is 'noeviction').
#
maxmemory 13GB
maxmemory 17GB

# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
# is reached. You can select one from the following behaviors:
Expand Down
26 changes: 1 addition & 25 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,31 +87,9 @@ services:
- ./.env.redis
restart: unless-stopped
stop_grace_period: 3m
redis-node-07:
image: redis/redis-stack-server:7.4.0-v1
command: [ "bash", "/home/runner/mounted/node.sh", "7107" ]
network_mode: "host"
volumes:
- ./config/redis:/home/runner/mounted
- /data/redis/7107:/data
env_file:
- ./.env.redis
restart: unless-stopped
stop_grace_period: 3m
redis-node-08:
image: redis/redis-stack-server:7.4.0-v1
command: [ "bash", "/home/runner/mounted/node.sh", "7108" ]
network_mode: "host"
volumes:
- ./config/redis:/home/runner/mounted
- /data/redis/7108:/data
env_file:
- ./.env.redis
restart: unless-stopped
stop_grace_period: 3m
redis-cluster-creator:
image: redis/redis-stack-server:7.4.0-v1
command: redis-cli -a "$REDIS_PASSWORD" --cluster create $REDIS_PUBLIC_IP:7101 $REDIS_PUBLIC_IP:7102 $REDIS_PUBLIC_IP:7103 $REDIS_PUBLIC_IP:7104 $REDIS_PUBLIC_IP:7105 $REDIS_PUBLIC_IP:7106 $REDIS_PUBLIC_IP:7107 $REDIS_PUBLIC_IP:7108 --cluster-replicas 0 --cluster-yes
command: redis-cli -a "$REDIS_PASSWORD" --cluster create $REDIS_PUBLIC_IP:7101 $REDIS_PUBLIC_IP:7102 $REDIS_PUBLIC_IP:7103 $REDIS_PUBLIC_IP:7104 $REDIS_PUBLIC_IP:7105 $REDIS_PUBLIC_IP:7106 --cluster-replicas 0 --cluster-yes
network_mode: "host"
depends_on:
- redis-node-01
Expand All @@ -120,7 +98,5 @@ services:
- redis-node-04
- redis-node-05
- redis-node-06
- redis-node-07
- redis-node-08
env_file:
- ./.env.redis

0 comments on commit 082bf8f

Please sign in to comment.