Commit ecb2c535 authored by shaw's avatar shaw
Browse files

fix: 修复docker-compose.yml redis密码传递问题

parent b3463769
...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment