forked from DevOps/deploy.stack
fix(newapi): 切换 Redis 连接为无密码模式
This commit is contained in:
@@ -29,7 +29,8 @@ services:
|
||||
# - SQL_DSN=postgresql://${DB_USER:-newapi}:${DB_PASSWORD}@${DB_HOST:-postgres}:${DB_PORT:-5432}/${DB_NAME:-new_api}?sslmode=disable
|
||||
- SQL_DSN=postgresql://${DB_USER:-newapi}:${DB_PASSWORD}@${DB_HOST:-postgres}:${DB_PORT:-5432}/${DB_NAME:-new_api}
|
||||
# 默认值:REDIS_HOST=172.22.10.205 指向 Dev-Redis(dbSer/redis.yml部署,DevNet 网段固定 IP)
|
||||
- REDIS_CONN_STRING=redis://:${REDIS_PASSWORD}@${REDIS_HOST:-172.22.10.205}:${REDIS_PORT:-6379}
|
||||
# - REDIS_CONN_STRING=redis://:${REDIS_PASSWORD}@${REDIS_HOST:-172.22.10.205}:${REDIS_PORT:-6379}
|
||||
- REDIS_CONN_STRING=redis://${REDIS_HOST:-172.22.10.205}:${REDIS_PORT:-6379}
|
||||
- TZ=Asia/Shanghai
|
||||
- BATCH_UPDATE_ENABLED=true
|
||||
- ERROR_LOG_ENABLED=true
|
||||
@@ -49,4 +50,4 @@ networks:
|
||||
prod-dbs_default:
|
||||
# 引用 prod-dbs 项目自动创建的默认网络,不归本 compose 管
|
||||
external: true
|
||||
name: prod-dbs_default
|
||||
name: prod-dbs_default
|
||||
|
||||
Reference in New Issue
Block a user