Fix CSRF Login issues, adjust PAPERLESS_URL environment variable reference

`PAPERLESS_URL` has to be without port reference to avoid Django CSRF issues when logging in. Otherwise the trusted origin in Django will be set to the url with port
This commit is contained in:
a-stein 2025-12-02 12:07:14 +01:00 committed by GitHub
parent a528f4c3d1
commit 2c00363163
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ services:
is_directory: true
environment:
- SERVICE_URL_PAPERLESS_8000
- PAPERLESS_URL=$SERVICE_URL_PAPERLESS_8000
- PAPERLESS_URL=$SERVICE_URL_PAPERLESS
- PAPERLESS_ADMIN_PASSWORD=${SERVICE_PASSWORD_PAPERLESS}
- PAPERLESS_ADMIN_USER=${SERVICE_USER_PAPERLESS}
- PAPERLESS_REDIS=redis://redis:6379