Files
2026-08-13 15:57:51 +08:00

19 lines
678 B
PowerShell
Raw Permalink 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.
# 在当前 PowerShell 会话中执行:. .\scripts\local-env.ps1
$env:NACOS_SERVER_ADDR = '127.0.0.1:8858'
$env:NACOS_NAMESPACE = 'public'
$env:NACOS_GROUP = 'BAIYUE'
$env:REDIS_HOST = '127.0.0.1'
$env:REDIS_PORT = '6380'
$env:SPRING_DATA_REDIS_HOST = '127.0.0.1'
$env:SPRING_DATA_REDIS_PORT = '6380'
$env:FILE_STORAGE_ROOT = 'D:/baiyue-lastleg-runtime/uploads'
$env:GATEWAY_PORT = '9300'
$env:LASTLEG_PORT = '9303'
$env:WAREHOUSE_PORT = '9305'
$env:FILE_PORT = '9306'
$env:PRINT_PORT = '9307'
$env:AUDIT_PORT = '9310'
$env:INTEGRATION_PORT = '9311'
$env:EVENT_BRIDGE_PORT = '9312'
Write-Host '已加载尾程本地环境:Nacos 8858,Redis 6380,业务端口 9300~9312'