From ecb2c5353c9571acb1302d382ce9816bae2f751c Mon Sep 17 00:00:00 2001 From: shaw Date: Fri, 26 Dec 2025 17:25:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Ddocker-compose.yml=20r?= =?UTF-8?q?edis=E5=AF=86=E7=A0=81=E4=BC=A0=E9=80=92=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index d534d3d6..9b802415 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -134,6 +134,8 @@ services: ${REDIS_PASSWORD:+--requirepass ${REDIS_PASSWORD}} environment: - TZ=${TZ:-Asia/Shanghai} + # REDISCLI_AUTH is used by redis-cli for authentication (safer than -a flag) + - REDISCLI_AUTH=${REDIS_PASSWORD:-} networks: - sub2api-network healthcheck: