21 lines
992 B
Text
21 lines
992 B
Text
|
CMD_DB_DIALECT=postgres
|
||
|
CMD_DB_HOST='postgres.${env["domain"]}'
|
||
|
CMD_DB_DATABASE=hedgedoc
|
||
|
CMD_DB_USERNAME='${secrets["postgres"]["hedgedoc"]["user"]}'
|
||
|
CMD_DB_PASSWORD='${secrets["postgres"]["hedgedoc"]["pass"]}'
|
||
|
CMD_DOMAIN='hedgedoc.${env["domain"]}'
|
||
|
CMD_PROTOCOL_USESSL=true
|
||
|
CMD_SESSION_SECRET='${secrets["hedgedoc_session"]}'
|
||
|
CMD_EMAIL=false
|
||
|
|
||
|
CMD_OAUTH2_PROVIDERNAME=Keycloak
|
||
|
CMD_OAUTH2_CLIENT_ID='${secrets["keycloak"]["hedgedoc"]["id"]}'
|
||
|
CMD_OAUTH2_CLIENT_SECRET='${secrets["keycloak"]["hedgedoc"]["secret"]}'
|
||
|
CMD_OAUTH2_AUTHORIZATION_URL=https://kc.${env["domain"]}/realms/master/protocol/openid-connect/auth
|
||
|
CMD_OAUTH2_TOKEN_URL=https://kc.${env["domain"]}/realms/master/protocol/openid-connect/token
|
||
|
CMD_OAUTH2_USER_PROFILE_URL=https://kc.${env["domain"]}/realms/master/protocol/openid-connect/userinfo
|
||
|
CMD_OAUTH2_SCOPE=openid email profile
|
||
|
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=preferred_username
|
||
|
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=name
|
||
|
CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
|