diff --git a/docs/dev-ops/docker-compose.yml b/docs/dev-ops/docker-compose.yml index b48f36d081e5be1b60a116b675a3550241566793..7bcafd07999da086334c81ee1e0654e25b7c5612 100644 --- a/docs/dev-ops/docker-compose.yml +++ b/docs/dev-ops/docker-compose.yml @@ -74,7 +74,7 @@ services: redis: condition: service_healthy - # Redis - ./redis/users.acl:/usr/local/etc/redis/users.acl + # 配置密码的情况下,volumes 添加 ./redis/users.acl:/usr/local/etc/redis/users.acl redis.conf 需要补充 aclfile /usr/local/etc/redis/users.acl redis: image: redis:7.2.0 container_name: redis diff --git a/docs/dev-ops/redis/redis.conf b/docs/dev-ops/redis/redis.conf index 1c7aca9d78f82ebbd08ba955a8de39e6f5d309d6..4a14201e3d511101b922e27cc6606b05b1838da2 100644 --- a/docs/dev-ops/redis/redis.conf +++ b/docs/dev-ops/redis/redis.conf @@ -1,3 +1,2 @@ bind 0.0.0.0 port 6379 -aclfile /usr/local/etc/redis/users.acl \ No newline at end of file