Commit 65b2028d by luoqi

chore(deploy): gen-env 的 REDIS_URL 默认 compose 内置 redis:6379

compose 模式下 pac-service 的 REDIS_URL 由 compose environment 覆盖为内网 redis:6379,
之前留 __FILL_ME__ 会误导。改为默认此值(走托管 redis 传环境变量覆盖),
让"仍需手填"列表只剩真正的外部凭据(DeepSeek / DW / 企微)。

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
parent 6f561707
Pipeline #3358 failed in 0 seconds
......@@ -74,7 +74,8 @@ inject() { # inject KEY ENVVAR_VALUE
set_kv "$key" "${v:-$PH}" "$SVC"
}
inject POSTGRES_PASSWORD "${POSTGRES_PASSWORD:-}"
inject REDIS_URL "${REDIS_URL:-}"
# compose 内置 redis 走内网 redis:6379(compose 会覆盖 pac-service 的 REDIS_URL);走托管则传环境变量覆盖
inject REDIS_URL "${REDIS_URL:-redis://redis:6379}"
inject DW_CLICKHOUSE_URL "${DW_CLICKHOUSE_URL:-}"
inject DW_CLICKHOUSE_DATABASE "${DW_CLICKHOUSE_DATABASE:-dw_group}"
inject DW_CLICKHOUSE_USERNAME "${DW_CLICKHOUSE_USERNAME:-}"
......
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