Add DevOps release and deployment configuration
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>
This commit is contained in:
bujie9527
2026-02-05 22:59:28 +08:00
parent edae775129
commit 0bd860f956
9 changed files with 488 additions and 30 deletions

24
deploy/.env.prod.example Normal file
View File

@@ -0,0 +1,24 @@
# 生产环境变量配置模板
# 复制此文件为 .env.prod 并填写实际值
# 镜像标签
TAG=latest
# 数据库配置
DATABASE_URL=postgresql://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