chore: 添加生产环境配置文件

This commit is contained in:
2025-08-28 21:15:29 +08:00
parent 5538940ccd
commit 539d13592e

10
backend/.env.prod Normal file
View File

@ -0,0 +1,10 @@
RUST_LOG=info,udmin=debug
APP_ENV=prod
APP_HOST=0.0.0.0
APP_PORT=9898
DB_URL=mysql://root:109ysy!@149.104.0.182:3306/udmin
JWT_SECRET=dev_secret_change_me
JWT_ISS=udmin
JWT_ACCESS_EXP_SECS=1800
JWT_REFRESH_EXP_SECS=1209600
CORS_ALLOW_ORIGINS=http://localhost:5173,http://localhost:5174,http://localhost:5175