2024-04-04 20:26:59 +02:00
|
|
|
CMD_DB_DIALECT=postgres
|
|
|
|
CMD_DB_HOST='postgres.{{ domain }}'
|
|
|
|
CMD_DB_DATABASE=hedgedoc
|
|
|
|
CMD_DB_USERNAME='{{ hedgedoc_secrets["postgres_user"] }}'
|
|
|
|
CMD_DB_PASSWORD='{{ hedgedoc_secrets["postgres_password"] }}'
|
|
|
|
CMD_DOMAIN='hedgedoc.{{ domain }}'
|
|
|
|
CMD_PROTOCOL_USESSL=true
|
|
|
|
CMD_SESSION_SECRET='{{ hedgedoc_secrets["session_secret"] }}'
|
2024-05-11 10:53:19 +02:00
|
|
|
|
|
|
|
CMD_OAUTH2_PROVIDERNAME=Authelia
|
|
|
|
CMD_OAUTH2_CLIENT_ID='{{ authelia_secrets["hedgedoc_client_id"] }}'
|
|
|
|
CMD_OAUTH2_CLIENT_SECRET='{{ authelia_secrets["hedgedoc_client_secret"] }}'
|
|
|
|
CMD_OAUTH2_AUTHORIZATION_URL=https://auth.{{ domain }}/api/oidc/authorization
|
|
|
|
CMD_OAUTH2_TOKEN_URL=https://auth.{{ domain }}/api/oidc/token
|
|
|
|
CMD_OAUTH2_USER_PROFILE_URL=https://auth.{{ domain }}/api/oidc/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
|