# X-Server Mobile 生产环境变量模板 # 使用方法: cp .env.production.template .env.production # 然后填写实际值,不要将 .env.production 提交到代码仓库 # ============================================ # 数据库配置 # ============================================ DB_HOST=1Panel-mysql-xxxx DB_PORT=3306 DB_DATABASE=xserver DB_USERNAME=xserver DB_PASSWORD=your_strong_password_here # ============================================ # Redis 配置 # ============================================ REDIS_HOST=1Panel-redis-xxxx REDIS_PORT=6379 REDIS_PASSWORD=your_redis_password_here REDIS_DATABASE=0 # ============================================ # 飞书配置 # ============================================ FEISHU_APP_ID=cli_xxxxxxxxxxxxx FEISHU_APP_SECRET=xxxxxxxxxxxxxxxxxxxx FEISHU_ENCRYPT_KEY=xxxxxxxxxxxxxxxxxxxx FEISHU_VERIFICATION_TOKEN=xxxxxxxxxxxxxxxxxxxx FEISHU_TENANT_KEY=14e7bc0fe5985740 # 飞书应用 URL(获取方式:飞书开放平台 -> 应用详情) FEISHU_APP_URL=https://open.feishu.cn # ============================================ # 应用配置 # ============================================ APP_ENV=production APP_DEBUG=false APP_URL=https://xsm.hnxinyouhe.com # ============================================ # 日志配置 # ============================================ LOG_LEVEL=info # ============================================ # 部署配置 # ============================================ DEPLOY_USER=root DEPLOY_SERVER=your-server-ip DEPLOY_PATH=/opt/x-server-mobile