宇恒一号官网
This commit is contained in:
10
.env.example
Normal file
10
.env.example
Normal file
@@ -0,0 +1,10 @@
|
||||
# 复制为 .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
|
||||
Reference in New Issue
Block a user