hedgedoc: configure keycloak

This commit is contained in:
Alexandre Iooss 2021-12-20 11:41:49 +01:00 committed by root
parent a72811509f
commit 4899b67ece

View file

@ -15,6 +15,15 @@ services:
environment:
CMD_DB_URL: "${CODIMD_DB_URL}"
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:
- ./codimd_uploads_data:/hedgedoc/public/uploads
ports: