14 lines
418 B
Plaintext
14 lines
418 B
Plaintext
# 生产环境配置(本地 MongoDB,无需映射)
|
||
# 使用方式:启动前 source .env.production 或 set -a && source .env.production && set +a
|
||
# Windows: 在 PowerShell 中可逐行 set 这些变量,或用 dotenv 等工具加载
|
||
|
||
# MongoDB(本机)
|
||
MONGODB_URI=mongodb://localhost:27017
|
||
MONGODB_DB=yxd-agent-testing
|
||
|
||
# 服务端口
|
||
PORT=8080
|
||
|
||
# Gin 生产模式(关闭调试信息)
|
||
GIN_MODE=release
|