This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
rocketchat/compose.oauth.yml

30 lines
1.3 KiB
YAML

---
version: '3.8'
services:
rocketchat:
secrets:
- oauth_key
environment:
- Accounts_OAuth_Custom-Keycloak=true
- Accounts_OAuth_Custom-Keycloak-url=${Accounts_OAuth_Custom_Keycloak_url}
- Accounts_OAuth_Custom-Keycloak-token_path=${Accounts_OAuth_Custom_Keycloak_token_path}
- Accounts_OAuth_Custom-Keycloak-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-authorize_path=${Accounts_OAuth_Custom_Keycloak_authorize_path}
- Accounts_OAuth_Custom-Keycloak-scope=openid
- Accounts_OAuth_Custom-Keycloak-id=${Accounts_OAuth_Custom_Keycloak_id}
- Accounts_OAuth_Custom-Keycloak-login_style=redirect
- Accounts_OAuth_Custom-Keycloak-button_label_text=Login via Keycloak
- Accounts_OAuth_Custom-Keycloak-button_label_color="#FFFFFF"
- Accounts_OAuth_Custom-Keycloak-button_color="#13679A"
- Accounts_OAuth_Custom-Keycloak-username_field=preferred_username
- Accounts_OAuth_Custom-Keycloak-merge_users=false
- OAUTH_KEY_FILE=/run/secrets/oauth_key
secrets:
oauth_key:
external: true
name: ${STACK_NAME}_oauth_key_${OAUTH_KEY_VERSION}