Use correct env variable keys

This commit is contained in:
rfl 2024-10-27 17:56:48 +01:00
parent 3fb6d592e4
commit 8fe2695baf
Signed by: rfl
GPG key ID: 48B0E5DDF8FA62EF

View file

@ -7,12 +7,9 @@ PAPERLESS_TIKA_ENDPOINT={{ salt['pillar.get']('paperless:webserver:environment:t
PAPERLESS_TIKA_GOTENBERG_ENDPOINT={{ salt['pillar.get']('paperless:webserver:environment:tika_gotenberg_endpoint', 'http://gotenberg:3000') }}
PAPERLESS_APPS=allauth.socialaccount.providers.openid_connect
PAPERLESS_SOCIALACCOUNT_PROVIDERS={"key": {"value": 3}}
PAPERLESS_CLIENT_SECRET={{ salt['pillar.get']('paperless:webserver:keycloak:client_secret', '<CLIENT_SECRET>') }}
PAPERLESS_SERVER_URL={{ salt['pillar.get']('paperless:webserver:keycloak:server_url', 'https://<KEYCLOAK_SERVER>/realms/<REALM>/.well-known/openid-configuration') }}
PAPERLESS_SOCIALACCOUNT_PROVIDERS_="{'openid_connect':{'APPS':[{'provider_id': 'keycloak', 'name': 'Keycloak', 'client_id': 'paperless', 'secret': ${PAPERLESS_CLIENT_SECRET}, 'settings':{'server_url': ${PAPERLESS_SERVER_URL}}}]}}"
PAPERLESS_SOCIALACCOUNT_PROVIDERS="{'openid_connect':{'APPS':[{'provider_id': 'keycloak', 'name': 'Keycloak', 'client_id': 'paperless', 'secret': ${PAPERLESS_CLIENT_SECRET}, 'settings':{'server_url': ${PAPERLESS_SERVER_URL}}}]}}"
PAPERLESS_DISABLE_REGULAR_LOGIN={{ salt['pillar.get']('paperless:webserver:environment:disable_regular_login', 'true') }}
PAPERLESS_REDIRECT_LOGIN_TO_SSO={{ salt['pillar.get']('paperless:webserver:environment:redirect_login_to_sso', 'true') }}