diff --git a/paperless/docker-compose.env b/paperless/docker-compose.env index ddbbcfc..47cdde5 100644 --- a/paperless/docker-compose.env +++ b/paperless/docker-compose.env @@ -1,8 +1,8 @@ # The UID and GID of the user used to run paperless in the container. Set this # to your UID and GID on the host so that you have write access to the # consumption directory. -# USERMAP_UID=1000 -# USERMAP_GID=1001 +USERMAP_UID=1000 +USERMAP_GID=1001 # Additional languages to install for text recognition, separated by a # whitespace. Note that this is @@ -12,7 +12,7 @@ # default. # See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names&suite=buster # for available languages. -#PAPERLESS_OCR_LANGUAGES=tur ces +# PAPERLESS_OCR_LANGUAGES=tur ces ############################################################################### # Paperless-specific settings # @@ -24,7 +24,7 @@ # Adjust this key if you plan to make paperless available publicly. It should # be a very long sequence of random characters. You don't need to remember it. -#PAPERLESS_SECRET_KEY=change-me +# PAPERLESS_SECRET_KEY=change-me # Use this variable to set a timezone for the Paperless Docker containers. If not specified, defaults to UTC. PAPERLESS_TIME_ZONE=Europe/Berlin @@ -32,7 +32,17 @@ PAPERLESS_TIME_ZONE=Europe/Berlin # The default language to use for OCR. Set this to the language most of your # documents are written in. PAPERLESS_OCR_LANGUAGE=deu +PAPERLESS_OCR_LANGUAGES=deu +# Eigene Einstellungen +# +# PAPERLESS_FILENAME_FORMAT_REMOVE_NONE=True PAPERLESS_FILENAME_FORMAT={document_type}/{correspondent}/{created_year}/{title} -PAPERLESS_CONSUMER_POLLING=30 +PAPERLESS_CONSUMER_POLLING=10 PAPERLESS_URL=https://dms.borgal.de +PAPERLESS_PRE_CONSUME_SCRIPT=/usr/src/paperless/scripts/pre-consume.sh + +# QR Code Scanner +PAPERLESS_CONSUMER_ENABLE_BARCODES=true +PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE=true +PAPERLESS_CONSUMER_BARCODE_SCANNER=ZXING diff --git a/paperless/docker-compose.yml b/paperless/docker-compose.yml index afd7c8b..358ceec 100644 --- a/paperless/docker-compose.yml +++ b/paperless/docker-compose.yml @@ -63,9 +63,10 @@ services: retries: 5 volumes: - ./data:/usr/src/paperless/data - - media:/usr/src/paperless/media - ./export:/usr/src/paperless/export - ./consume:/usr/src/paperless/consume + - ./scripts:/usr/src/paperless/scripts + - media:/usr/src/paperless/media env_file: docker-compose.env environment: PAPERLESS_REDIS: redis://broker:6379