Some checks failed
Build and Deploy / test-backend (push) Has been cancelled
Build and Deploy / build-backend (push) Has been cancelled
Build and Deploy / build-admin (push) Has been cancelled
Deploy to Production / build-backend (push) Has been cancelled
Deploy to Production / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
665 B
Plaintext
25 lines
665 B
Plaintext
# 生产环境变量配置模板
|
||
# 复制此文件为 .env.prod 并填写实际值
|
||
|
||
# 镜像标签
|
||
TAG=latest
|
||
|
||
# 数据库配置(backend 也支持仅设置 DB_HOST/DB_PORT/DB_USER/DB_PASSWORD/DB_NAME,自动拼接)
|
||
DATABASE_URL=postgresql+asyncpg://postgres:CHANGE_ME@db:5432/wecom_ai
|
||
DATABASE_URL_SYNC=postgresql://postgres:CHANGE_ME@db:5432/wecom_ai
|
||
POSTGRES_USER=postgres
|
||
POSTGRES_PASSWORD=CHANGE_ME
|
||
POSTGRES_DB=wecom_ai
|
||
|
||
# WeCom 配置
|
||
WECOM_CORP_ID=你的企业ID
|
||
WECOM_AGENT_ID=你的应用AgentId
|
||
WECOM_TOKEN=你的Token
|
||
WECOM_ENCODING_AES_KEY=你的43位密钥
|
||
|
||
# JWT 配置
|
||
JWT_SECRET=CHANGE_ME_TO_RANDOM_STRING
|
||
|
||
# 其他配置
|
||
ENVIRONMENT=production
|