调整环境变量

This commit is contained in:
sophie committed 2026-05-16 10:16:03 +08:00
1 parent 9de63c916c
commit db5fbe1697
27 files changed
+579 -1868

No files matched your search

+13 -7
View File
@@ -7,6 +7,19 @@ DATABASE_URL=postgresql://postgres:123456@8.152.207.171/hxops_db
FLASK_APP=run.py
FLASK_ENV=development
# 是否启用 JWT 认证
AUTH_JWT_REQUIRED=true
# AUTH_LOGIN_MODE=casdoor
# 如果需要用户密码登录,修改该值为password
AUTH_LOGIN_MODE=password
AUTH_JWT_ISSUER=http://ai.well-trust.com:8870
AUTH_JWT_AUDIENCE=758be5fcba2df784fdb4
AUTH_JWT_JWKS_URL=http://192.168.100.230:8870/.well-known/jwks
# Casdoor
# 共用 IdP(可与生产 Casdoor 同机)
CASDOOR_BASE_URL=http://192.168.100.230:8870
# 以下为 hxops-dev 应用在 Casdoor 控制台里的 Client ID / Secret(勿与 prod 混用)
@@ -17,10 +30,3 @@ CASDOOR_REDIRECT_URI=http://localhost:8881/casdoor-callback
CASDOOR_SCOPE=openid profile email
# Casdoor Providers → wecom(Name=wecom,与 prod 共用同一 Provider 即可)
CASDOOR_WECOM_PROVIDER_HINT=wecom
AUTH_JWT_ISSUER=http://ai.well-trust.com:8870
AUTH_JWT_AUDIENCE=<hxops-dev-client-id>
AUTH_JWT_JWKS_URL=http://192.168.100.230:8870/.well-known/jwks
AUTH_LOGIN_MODE=casdoor
AUTH_JWT_REQUIRED=true