docs: 移动蓝绿部署指南到 troubleshooting 目录

This commit is contained in:
Simon
2026-07-05 17:03:36 +08:00
parent ab90db3d3d
commit ca7c6d937a
91 changed files with 4841 additions and 406 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
docker run -d \
--name wecom_it_backend \
--network wecom-it-desk_it-desk-internal \
-e DATABASE_URL=postgresql://wecom:wecom_secret_2026@postgres:5432/wecom_it_desk \
-e REDIS_URL=redis://:R3dIs2026Secure@redis:6379/0 \
-e WECOM_CORP_ID=wwa8c87970b2011f41 \
-e WECOM_AGENT_ID=1000133 \
-e WECOM_SECRET=EOtQslW7WD8Rna8Nm9WnwCW-ozHP3tustL4mFnet6O8 \
-e WECOM_TOKEN=wAqMCP \
-e WECOM_ENCODING_AES_KEY=KQY3cEsBc3rdi3xua9rPd5WxH8kYOhyASzWZQf75aJS \
-e CORS_ORIGINS=https://itsupport.servyou.com.cn,http://itsupport.servyou.com.cn \
wecom-it-desk-backend:latest \
uvicorn app.main:app --host 0.0.0.0 --port 8000 --workers 2