Files
web/.env.example
2026-03-17 01:00:11 +08:00

11 lines
569 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 复制为 .env 或 .env.production 后按需修改
# Go 服务不会自动加载 .env需在启动前导出变量例如
# Linux/Mac: export $(grep -v '^#' .env.production | xargs)
# Windows CMD: for /f "usebackq tokens=*" %a in (".env.production") do set %a
# Windows PowerShell: Get-Content .env.production | ForEach-Object { if ($_ -match '^([^#][^=]+)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1].Trim(), $matches[2].Trim(), 'Process') } }
MONGODB_URI=mongodb://localhost:27017
MONGODB_DB=yxd-agent-testing
PORT=8080
GIN_MODE=release