Make env vars more manageable for end-user
This commit is contained in:
parent
8cb7bed81e
commit
e9c3c3e88e
|
@ -11,11 +11,9 @@ ADMIN_EMAIL=rocketchat@example.com
|
||||||
|
|
||||||
# OAuth with Keycloak
|
# OAuth with Keycloak
|
||||||
#COMPOSE_FILE="compose.yml:compose.oauth.yml"
|
#COMPOSE_FILE="compose.yml:compose.oauth.yml"
|
||||||
#Accounts_OAuth_Custom-Keycloak-url="https://id.example.com/auth"
|
#KEYCLOAK_DOMAIN=id.example.com
|
||||||
#Accounts_OAuth_Custom-Keycloak-token_path="/realms/realmname/protocol/openid-connect/token"
|
#KEYCLOAK_REALM=myrealm
|
||||||
#Accounts_OAuth_Custom-Keycloak-identity_path="/realms/realmname/protocol/openid-connect/userinfo"
|
#KEYCLOAK_CLIENT=foobar
|
||||||
#Accounts_OAuth_Custom-Keycloak-authorize_path="/realms/realmname/protocol/openid-connect/auth"
|
|
||||||
#Accounts_OAuth_Custom-Keycloak-id="rocketchat"
|
|
||||||
|
|
||||||
#SECRET_OAUTH_KEY_VERSION=v1
|
#SECRET_OAUTH_KEY_VERSION=v1
|
||||||
|
|
||||||
|
|
|
@ -7,14 +7,14 @@ services:
|
||||||
- oauth_key
|
- oauth_key
|
||||||
environment:
|
environment:
|
||||||
- Accounts_OAuth_Custom-Keycloak=true
|
- Accounts_OAuth_Custom-Keycloak=true
|
||||||
- Accounts_OAuth_Custom-Keycloak-url=${Accounts_OAuth_Custom_Keycloak_url}
|
- Accounts_OAuth_Custom-Keycloak-url=https://${KEYCLOAK_DOMAIN}/auth
|
||||||
- Accounts_OAuth_Custom-Keycloak-token_path=${Accounts_OAuth_Custom_Keycloak_token_path}
|
- Accounts_OAuth_Custom-Keycloak-token_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/token
|
||||||
- Accounts_OAuth_Custom-Keycloak-token_sent_via=Header
|
- Accounts_OAuth_Custom-Keycloak-token_sent_via=Header
|
||||||
- Accounts_OAuth_Custom-Keycloak-identity_token_sent_via=header
|
- Accounts_OAuth_Custom-Keycloak-identity_token_sent_via=header
|
||||||
- Accounts_OAuth_Custom-Keycloak-identity_path=${Accounts_OAuth_Custom_Keycloak_identity_path}
|
- Accounts_OAuth_Custom-Keycloak-identity_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/userinfo
|
||||||
- Accounts_OAuth_Custom-Keycloak-authorize_path=${Accounts_OAuth_Custom_Keycloak_authorize_path}
|
- Accounts_OAuth_Custom-Keycloak-authorize_path=/realms/${KEYCLOAK_REALM}/protocol/openid-connect/auth
|
||||||
- Accounts_OAuth_Custom-Keycloak-scope=openid
|
- Accounts_OAuth_Custom-Keycloak-scope=openid
|
||||||
- Accounts_OAuth_Custom-Keycloak-id=${Accounts_OAuth_Custom_Keycloak_id}
|
- Accounts_OAuth_Custom-Keycloak-id=${KEYCLOAK_CLIENT}
|
||||||
- Accounts_OAuth_Custom-Keycloak-login_style=redirect
|
- Accounts_OAuth_Custom-Keycloak-login_style=redirect
|
||||||
- Accounts_OAuth_Custom-Keycloak-button_label_text=Login via Keycloak
|
- Accounts_OAuth_Custom-Keycloak-button_label_text=Login via Keycloak
|
||||||
- Accounts_OAuth_Custom-Keycloak-button_label_color=#FFFFFF
|
- Accounts_OAuth_Custom-Keycloak-button_label_color=#FFFFFF
|
||||||
|
|
Loading…
Reference in New Issue