hedgedoc: configure keycloak
This commit is contained in:
parent
a72811509f
commit
4899b67ece
1 changed files with 9 additions and 0 deletions
|
@ -15,6 +15,15 @@ services:
|
||||||
environment:
|
environment:
|
||||||
CMD_DB_URL: "${CODIMD_DB_URL}"
|
CMD_DB_URL: "${CODIMD_DB_URL}"
|
||||||
CMD_LDAP_BINDCREDENTIALS: "${CODIMD_LDAP_BINDCREDENTIALS}"
|
CMD_LDAP_BINDCREDENTIALS: "${CODIMD_LDAP_BINDCREDENTIALS}"
|
||||||
|
CMD_OAUTH2_USER_PROFILE_URL: https://auth.auro.re/auth/realms/aurore/protocol/openid-connect/userinfo
|
||||||
|
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR: preferred_username
|
||||||
|
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR: preferred_username
|
||||||
|
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR: email
|
||||||
|
CMD_OAUTH2_TOKEN_URL: https://auth.auro.re/auth/realms/aurore/protocol/openid-connect/token
|
||||||
|
CMD_OAUTH2_AUTHORIZATION_URL: https://auth.auro.re/auth/realms/aurore/protocol/openid-connect/auth
|
||||||
|
CMD_OAUTH2_CLIENT_ID: hedgedoc
|
||||||
|
CMD_OAUTH2_CLIENT_SECRET: "${CODIMD_OAUTH2_CLIENT_SECRET}"
|
||||||
|
CMD_OAUTH2_PROVIDERNAME: Aurore
|
||||||
volumes:
|
volumes:
|
||||||
- ./codimd_uploads_data:/hedgedoc/public/uploads
|
- ./codimd_uploads_data:/hedgedoc/public/uploads
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue