Files
syops/.env.test
T

24 lines
985 B
Bash
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.
# =============================================================================
# Test — docker compose / deploy_compose.sh test
# Casdoor 做法 A:共用 CASDOOR_BASE_URL,独立 Application「hxops-test」
# =============================================================================
DATABASE_URL=postgresql://postgres:change_me@127.0.0.1:5432/hxops_db
FLASK_APP=run.py
FLASK_ENV=test
CASDOOR_BASE_URL=http://192.168.100.230:8870
CASDOOR_CLIENT_ID=<hxops-test-client-id>
CASDOOR_CLIENT_SECRET=<hxops-test-client-secret>
# 测试环境前端访问根地址(按实际修改主机与端口)
CASDOOR_REDIRECT_URI=http://<TEST_FRONTEND_HOST>:8881/casdoor-callback
CASDOOR_SCOPE=openid profile email
# Casdoor Providers → wecom(Name=wecom)
CASDOOR_WECOM_PROVIDER_HINT=wecom
AUTH_JWT_ISSUER=http://192.168.100.230:8870
AUTH_JWT_AUDIENCE=<hxops-test-client-id>
AUTH_JWT_JWKS_URL=http://192.168.100.230:8870/.well-known/jwks
AUTH_LOGIN_MODE=casdoor
AUTH_JWT_REQUIRED=true