Redis限流插件:
1:搭建层级结构
同时对 redis.log 授权
chmod 777 redis.log
redis__13">2:确认 redis 版本
redis_redisconf_18">3:下载redis配置文件 redis.conf
https://redis.io/docs/management/config/
redisconf_redisconf_25">4:上传/redis/conf作为原始 redis.conf
redis_6390confredisconf_30">5:在/redis_6390/conf下编辑redis.conf
docker run -it \
--name redis_6390 \
--privileged \
-p 6390:6379 \
--network wn_docker_net \
--ip 172.18.12.19 \
--sysctl net.core.somaxconn=1024 \
-e TIME_ZONE="Asia/Shanghai" -e TZ="Asia/Shanghai" \
-v /usr/local/software/redis/6390/conf/redis.conf:/usr/local/etc/redis/redis.conf \
-v /usr/local/software/redis/6390/data/:/data \
-v /usr/local/software/redis/6390/log/redis.log:/var/log/redis.log \
-d redis \
/usr/local/etc/redis/redis.conf