bundles/paperless: set some options

This commit is contained in:
Franzi 2021-05-24 10:23:19 +02:00
parent df3e18b476
commit d193ec8ef3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 8 additions and 3 deletions

View file

@ -28,7 +28,7 @@ PAPERLESS_CORS_ALLOWED_HOSTS=http://${node.metadata.get('nginx/vhosts/paperless/
# OCR settings
PAPERLESS_OCR_LANGUAGE=${'+'.join(sorted(node.metadata.get('paperless/ocr_languages', {'deu', 'eng'})))}
PAPERLESS_OCR_MODE=skip
PAPERLESS_OCR_MODE=skip_noarchive
#PAPERLESS_OCR_OUTPUT_TYPE=pdfa
#PAPERLESS_OCR_PAGES=1
#PAPERLESS_OCR_IMAGE_DPI=300
@ -45,9 +45,9 @@ PAPERLESS_OCR_MODE=skip
PAPERLESS_TASK_WORKERS=${node.metadata.get('vm/cpu', 1)}
#PAPERLESS_THREADS_PER_WORKER=1
PAPERLESS_TIME_ZONE=${node.metadata.get('paperless/timezone', 'UTC')}
PAPERLESS_CONSUMER_POLLING=10
PAPERLESS_CONSUMER_POLLING=5
#PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
#PAPERLESS_CONSUMER_RECURSIVE=false
PAPERLESS_CONSUMER_RECURSIVE=true
#PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
#PAPERLESS_OPTIMIZE_THUMBNAILS=true
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh

View file

@ -52,6 +52,11 @@ nodes['home.paperless'] = {
},
'paperless': {
'version': 'ng-1.4.4',
'timezone': 'Europe/Berlin',
},
'vm': {
'cpu': 2,
'ram': 2,
},
},
}