From 738ef4ed9ca7e0235a957a04575ba9160b67359d Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Fri, 9 Feb 2024 21:50:59 +0100 Subject: [PATCH] [paperless] Add url setting --- paperless/README.md | 1 + paperless/docker-compose.yaml | 1 + 2 files changed, 2 insertions(+) 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