eab91174db
Co-Authored-By: Claude <noreply@anthropic.com>
20 lines
605 B
Bash
20 lines
605 B
Bash
# PCM 部署编排环境变量示例(复制为 .env;勿提交真实密钥)
|
||
|
||
# 后端鉴权令牌签名密钥(生产必须为强随机值)
|
||
AUTH_SECRET=change-me-to-a-strong-random-secret
|
||
|
||
# 字段级加密密钥(AES-256-GCM,32 字节 hex64/base64;生产经 KMS 注入)
|
||
# 生成:node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
||
FIELD_ENCRYPTION_KEY=
|
||
|
||
# PostgreSQL(db 服务)
|
||
POSTGRES_USER=postgres
|
||
POSTGRES_PASSWORD=postgres
|
||
POSTGRES_DB=pcm
|
||
|
||
# 各服务对外端口(可按环境调整)
|
||
BACKEND_PORT=3000
|
||
PATIENT_PORT=8081
|
||
ADMIN_PORT=8082
|
||
FAMILY_PORT=8083
|