diff --git a/config/redis/node.conf b/config/redis/node.conf index a852d4ba..e41cfa42 100644 --- a/config/redis/node.conf +++ b/config/redis/node.conf @@ -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 10GB +maxmemory 13GB # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory # is reached. You can select one from the following behaviors: diff --git a/docker-compose.yml b/docker-compose.yml index 1b28acd1..88bfa7b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-standalone-2: image: redis/redis-stack-server:7.4.0-v1 ports: @@ -20,7 +20,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-01: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7101" ] @@ -31,7 +31,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-02: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7102" ] @@ -42,7 +42,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-03: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7103" ] @@ -53,7 +53,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-04: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7104" ] @@ -64,7 +64,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-05: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7105" ] @@ -75,7 +75,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-06: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7106" ] @@ -86,7 +86,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-07: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7107" ] @@ -97,7 +97,7 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m + stop_grace_period: 3m redis-node-08: image: redis/redis-stack-server:7.4.0-v1 command: [ "bash", "/home/runner/mounted/node.sh", "7108" ] @@ -108,32 +108,10 @@ services: env_file: - ./.env.redis restart: unless-stopped - stop_grace_period: 2m - redis-node-09: - image: redis/redis-stack-server:7.4.0-v1 - command: [ "bash", "/home/runner/mounted/node.sh", "7109" ] - network_mode: "host" - volumes: - - ./config/redis:/home/runner/mounted - - /data/redis/7109:/data - env_file: - - ./.env.redis - restart: unless-stopped - stop_grace_period: 2m - redis-node-10: - image: redis/redis-stack-server:7.4.0-v1 - command: [ "bash", "/home/runner/mounted/node.sh", "7110" ] - network_mode: "host" - volumes: - - ./config/redis:/home/runner/mounted - - /data/redis/7110:/data - env_file: - - ./.env.redis - restart: unless-stopped - stop_grace_period: 2m + 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 $REDIS_PUBLIC_IP:7109 $REDIS_PUBLIC_IP:7110 --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 $REDIS_PUBLIC_IP:7107 $REDIS_PUBLIC_IP:7108 --cluster-replicas 0 --cluster-yes network_mode: "host" depends_on: - redis-node-01 @@ -144,7 +122,5 @@ services: - redis-node-06 - redis-node-07 - redis-node-08 - - redis-node-09 - - redis-node-10 env_file: - ./.env.redis