chore: add per-environment env config (参考 uirefbase)

Commit .env.development/.staging/.production and track env files in git
(matching uirefbase convention). No secrets: SSO_URL (sso-mock service),
NEXT_PUBLIC_APP_URL (callback), SSO_APP_ID. .gitignore now ignores only
*.local overrides.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
zhangheng
2026-07-06 18:45:13 +08:00
parent f737603b0c
commit e4a6d6e817
4 changed files with 26 additions and 4 deletions

8
.env.production Normal file
View File

@@ -0,0 +1,8 @@
# Mock SSO 服务地址(集群内 svc 名,按实际部署填写)
SSO_URL="http://sso-mock-svc:5501"
# 本应用地址(作为 SSO 回调 app_url按实际部署填写
NEXT_PUBLIC_APP_URL=""
# 注册在 SSO 的应用 IDapp_id
SSO_APP_ID="app_demo_001"