|
|
@@ -56,7 +56,7 @@ services:
|
|
|
- HYDRA_ADMIN_URL=http://hydra:4445
|
|
|
# CORS: Add * to allow debugging from any origin if localhost fails
|
|
|
# Also explictly allow 127.0.0.1 and localhost with port 5173
|
|
|
- - BACKEND_CORS_ORIGINS=["http://localhost:5173", "http://127.0.0.1:5173", "http://frontend:5173"]
|
|
|
+ - BACKEND_CORS_ORIGINS=["https://api.hnyunzhu.com"]
|
|
|
depends_on:
|
|
|
db:
|
|
|
condition: service_healthy
|
|
|
@@ -176,9 +176,9 @@ services:
|
|
|
- TZ=Asia/Shanghai
|
|
|
- DSN=postgres://hydra:secret@postgresd:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
|
|
|
- URLS_SELF_ISSUER=https://api.hnyunzhu.com/hydra
|
|
|
- - URLS_CONSENT=http://localhost:5173/consent
|
|
|
- - URLS_LOGIN=http://localhost:5173/login
|
|
|
- - URLS_LOGOUT=http://localhost:5173/login
|
|
|
+ - URLS_CONSENT=https://api.hnyunzhu.com/consent
|
|
|
+ - URLS_LOGIN=https://api.hnyunzhu.com/login
|
|
|
+ - URLS_LOGOUT=https://api.hnyunzhu.com/login
|
|
|
- SECRETS_SYSTEM=youReallyNeedToChangeThis
|
|
|
- OIDC_SUBJECT_IDENTIFIERS_SUPPORTED_TYPES=public,pairwise
|
|
|
- OIDC_SUBJECT_IDENTIFIERS_PAIRWISE_SALT=youReallyNeedToChangeThis
|