fix: 修复 Redis 密码为空时容器启动失败的问题 #124

Merged
huanghaosheng merged 1 commits from feature/add-redis-docker into develop 2026-06-19 23:19:04 +08:00

当 CAMTALK_REDIS_PASSWORD 为空时,--requirepass 缺少参数导致
Redis 解析失败退出,healthcheck 无法执行,后端依赖启动失败。

改为 shell 脚本根据密码是否为空动态决定是否启用认证。

当 CAMTALK_REDIS_PASSWORD 为空时,--requirepass 缺少参数导致 Redis 解析失败退出,healthcheck 无法执行,后端依赖启动失败。 改为 shell 脚本根据密码是否为空动态决定是否启用认证。
huanghaosheng added 1 commit 2026-06-19 23:18:57 +08:00
当 CAMTALK_REDIS_PASSWORD 为空时,--requirepass 缺少参数导致
Redis 解析失败退出,healthcheck 无法执行,后端依赖启动失败。

改为 shell 脚本根据密码是否为空动态决定是否启用认证。
huanghaosheng merged commit 4235c5cae0 into develop 2026-06-19 23:19:04 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: XEngineers/CamTalk#124