|
|
|
@ -5,8 +5,7 @@ DBPASS = "{{ papermerge_db_pass }}" |
|
|
|
|
DBHOST = "{{ papermerge_db_server }}" |
|
|
|
|
DBPORT = "{{ papermerge_db_port }}" |
|
|
|
|
MEDIA_DIR = "{{ papermerge_root_dir }}/data" |
|
|
|
|
IMPORTER_DIR = "{{ papermerge_root_dir }}/input" |
|
|
|
|
FILES_MIN_UNMODIFIED_DURATION = 10 |
|
|
|
|
IMPORTER_DIR = "{{ papermerge_import_dir }}" |
|
|
|
|
OCR_DEFAULT_LANGUAGE = "{{ papermerge_ocr_default_lang }}" |
|
|
|
|
LANGUAGE_FROM_AGENT = True |
|
|
|
|
LANGUAGES = [ |
|
|
|
@ -27,3 +26,16 @@ METADATA_DATE_FORMATS = [ |
|
|
|
|
'yyyy-mm-dd', |
|
|
|
|
'month' |
|
|
|
|
] |
|
|
|
|
CELERY_BROKER_URL = "redis://" |
|
|
|
|
CELERY_BROKER_TRANSPORT_OPTIONS = {} |
|
|
|
|
CELERY_RESULT_BACKEND = "redis://localhost/0" |
|
|
|
|
|
|
|
|
|
{% if papermerge_imap_host is defined and papermerge_imap_user is defined and papermerge_imap_pass is defined %} |
|
|
|
|
IMPORT_MAIL_HOST = "{{ papermerge_imap_host }}" |
|
|
|
|
IMPORT_MAIL_USER = "{{ papermerge_imap_user }}" |
|
|
|
|
IMPORT_MAIL_PASS = "{{ papermerge_imap_pass }}" |
|
|
|
|
IMPORT_MAIL_BY_USER = True |
|
|
|
|
IMPORT_MAIL_BY_SECRET = True |
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
BINARY_STAPLER= "/opt/papermerge/venv/bin/stapler" |
|
|
|
|