fix(2.0): presence-service-2 使用 APP_PORT 指定监听端口
presence-service 的 main.ts 读取 APP_PORT 而非 PORT, 添加 APP_PORT: 3027 确保服务监听在正确端口。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b06f1272e2
commit
2c312a850b
|
|
@ -509,6 +509,7 @@ services:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
PORT: 3027
|
PORT: 3027
|
||||||
|
APP_PORT: 3027
|
||||||
# PostgreSQL - 2.0 独立的 presence 数据库
|
# PostgreSQL - 2.0 独立的 presence 数据库
|
||||||
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@${POSTGRES_HOST:-postgres}:${POSTGRES_PORT:-5432}/rwa_mining_presence?schema=public
|
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@${POSTGRES_HOST:-postgres}:${POSTGRES_PORT:-5432}/rwa_mining_presence?schema=public
|
||||||
# Redis - 使用 DB 17 隔离 (2.0 已用: 8,10,12,13,14,15,16)
|
# Redis - 使用 DB 17 隔离 (2.0 已用: 8,10,12,13,14,15,16)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue