Files
HealthCarePregnant/pcm-platform/.env.example
T
2026-06-18 09:48:05 +08:00

20 lines
605 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PCM 部署编排环境变量示例(复制为 .env;勿提交真实密钥)
# 后端鉴权令牌签名密钥(生产必须为强随机值)
AUTH_SECRET=change-me-to-a-strong-random-secret
# 字段级加密密钥(AES-256-GCM32 字节 hex64/base64;生产经 KMS 注入)
# 生成:node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
FIELD_ENCRYPTION_KEY=
# PostgreSQLdb 服务)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=pcm
# 各服务对外端口(可按环境调整)
BACKEND_PORT=3000
PATIENT_PORT=8081
ADMIN_PORT=8082
FAMILY_PORT=8083