Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
ecb2c535
Commit
ecb2c535
authored
Dec 26, 2025
by
shaw
Browse files
fix: 修复docker-compose.yml redis密码传递问题
parent
b3463769
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/docker-compose.yml
View file @
ecb2c535
...
@@ -134,6 +134,8 @@ services:
...
@@ -134,6 +134,8 @@ services:
${REDIS_PASSWORD:+--requirepass ${REDIS_PASSWORD}}
${REDIS_PASSWORD:+--requirepass ${REDIS_PASSWORD}}
environment
:
environment
:
-
TZ=${TZ:-Asia/Shanghai}
-
TZ=${TZ:-Asia/Shanghai}
# REDISCLI_AUTH is used by redis-cli for authentication (safer than -a flag)
-
REDISCLI_AUTH=${REDIS_PASSWORD:-}
networks
:
networks
:
-
sub2api-network
-
sub2api-network
healthcheck
:
healthcheck
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment