diff --git a/paperless/README.md b/paperless/README.md index 2a4ec85..b8f004e 100644 --- a/paperless/README.md +++ b/paperless/README.md @@ -8,3 +8,4 @@ Several environment variables have to be set: - postgres_version Paperless specific: - PAPERLESS_SECRET_KEY: A random string +- PAPERLESS_URL: The URL of the paperless instance (used for CSRF, CORS) diff --git a/paperless/docker-compose.yaml b/paperless/docker-compose.yaml index 651c525..25a4a02 100644 --- a/paperless/docker-compose.yaml +++ b/paperless/docker-compose.yaml @@ -33,6 +33,7 @@ services: PAPERLESS_REDIS: redis://broker:6379 PAPERLESS_DBHOST: db PAPERLESS_SECRET_KEY: ${PAPERLESS_SECRET_KEY} + PAPERLESS_URL: ${PAPERLESS_URL} PAPERLESS_OCR_LANGUAGE: deu PAPERLESS_ENABLE_HTTP_REMOTE_USER: true