feat:修改本地和服务器区分数据库的密码
This commit is contained in:
parent
d60f597cfa
commit
83d1bec422
@ -85,7 +85,7 @@ DB_HOST="${DB_HOST:-localhost}"
|
||||
DB_PORT="${DB_PORT:-15432}"
|
||||
DB_USER="${DB_USER:-postgres}"
|
||||
DB_PASSWORD="${DB_PASSWORD:-123456}"
|
||||
DB_NAME="${DB_NAME:-topfans}"
|
||||
DB_NAME="${DB_NAME:-top-fans}"
|
||||
REDIS_HOST="${REDIS_HOST:-localhost}"
|
||||
REDIS_PORT="${REDIS_PORT:-6379}"
|
||||
REDIS_PASSWORD="${REDIS_PASSWORD:-123456}"
|
||||
|
||||
@ -5,8 +5,11 @@
|
||||
# Usage: docker-compose -f docker-compose.local.yml --profile local up -d
|
||||
# ===================================================================
|
||||
|
||||
# Database (must match POSTGRES_PASSWORD in compose file)
|
||||
DB_PASSWORD=postgres123
|
||||
# Database - 本地连接 host.docker.internal:15432 上的 postgres
|
||||
# (注意:本仓库 docker-compose.local.yml 不起 postgres 容器,共用宿主机上由
|
||||
# sofaware-docker/PostgreSql 起的 postgresql-database-1,密码 123456,库名 top-fans)
|
||||
DB_PASSWORD=123456
|
||||
DB_NAME=top-fans
|
||||
|
||||
# JWT Secret - CHANGE IN PRODUCTION
|
||||
JWT_SECRET=topfans-secret-key-local-dev-only
|
||||
|
||||
Loading…
Reference in New Issue
Block a user