Files
hk4e/docker/3rd/redis/redis_cluster/create_cluster.sh
flswld 0395dc0bc2 1.MongoDB、Redis兼容集群模式
2.离线数据接口化访问
2023-02-26 23:03:13 +08:00

11 lines
223 B
Bash
Executable File

#!/bin/sh
redis-cli -a 123456 --cluster create \
192.168.199.233:6371 \
192.168.199.233:6372 \
192.168.199.233:6373 \
192.168.199.233:6374 \
192.168.199.233:6375 \
192.168.199.233:6376 \
--cluster-replicas 1