bundles/paperless: set some options
This commit is contained in:
parent
df3e18b476
commit
d193ec8ef3
2 changed files with 8 additions and 3 deletions
|
@ -28,7 +28,7 @@ PAPERLESS_CORS_ALLOWED_HOSTS=http://${node.metadata.get('nginx/vhosts/paperless/
|
||||||
# OCR settings
|
# OCR settings
|
||||||
|
|
||||||
PAPERLESS_OCR_LANGUAGE=${'+'.join(sorted(node.metadata.get('paperless/ocr_languages', {'deu', 'eng'})))}
|
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_OUTPUT_TYPE=pdfa
|
||||||
#PAPERLESS_OCR_PAGES=1
|
#PAPERLESS_OCR_PAGES=1
|
||||||
#PAPERLESS_OCR_IMAGE_DPI=300
|
#PAPERLESS_OCR_IMAGE_DPI=300
|
||||||
|
@ -45,9 +45,9 @@ PAPERLESS_OCR_MODE=skip
|
||||||
PAPERLESS_TASK_WORKERS=${node.metadata.get('vm/cpu', 1)}
|
PAPERLESS_TASK_WORKERS=${node.metadata.get('vm/cpu', 1)}
|
||||||
#PAPERLESS_THREADS_PER_WORKER=1
|
#PAPERLESS_THREADS_PER_WORKER=1
|
||||||
PAPERLESS_TIME_ZONE=${node.metadata.get('paperless/timezone', 'UTC')}
|
PAPERLESS_TIME_ZONE=${node.metadata.get('paperless/timezone', 'UTC')}
|
||||||
PAPERLESS_CONSUMER_POLLING=10
|
PAPERLESS_CONSUMER_POLLING=5
|
||||||
#PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
|
#PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
|
||||||
#PAPERLESS_CONSUMER_RECURSIVE=false
|
PAPERLESS_CONSUMER_RECURSIVE=true
|
||||||
#PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
|
#PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
|
||||||
#PAPERLESS_OPTIMIZE_THUMBNAILS=true
|
#PAPERLESS_OPTIMIZE_THUMBNAILS=true
|
||||||
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
|
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
|
||||||
|
|
|
@ -52,6 +52,11 @@ nodes['home.paperless'] = {
|
||||||
},
|
},
|
||||||
'paperless': {
|
'paperless': {
|
||||||
'version': 'ng-1.4.4',
|
'version': 'ng-1.4.4',
|
||||||
|
'timezone': 'Europe/Berlin',
|
||||||
|
},
|
||||||
|
'vm': {
|
||||||
|
'cpu': 2,
|
||||||
|
'ram': 2,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue