update paperless configuration

This commit is contained in:
Gabriel Augendre 2024-12-08 17:42:48 +01:00
parent c73e10d195
commit 8f4fda2020
2 changed files with 13 additions and 0 deletions

View file

@ -41,3 +41,10 @@
34373039666464333139363136373561623662653839343435613861333335633339636131633530 34373039666464333139363136373561623662653839343435613861333335633339636131633530
61353563646332306536346431336331393531363065316136633837313465363934353763316664 61353563646332306536346431336331393531363065316136633837313465363934353763316664
393461396163306265613134363634653032 393461396163306265613134363634653032
ignore_dates: !vault |
$ANSIBLE_VAULT;1.1;AES256
30323237343438383765613831656137616461376261356531303838303034353337333463613938
3233613639313665643237356131623738346565356532320a643639353764376235663361316562
37613830656639383032323865346333393663636535306230373439393363636434363430386531
3139336464633563340a656132313366313331356236393735313231663034623538356337316566
63303566343039633863386363326464386561326536626637353239636431633066

View file

@ -25,6 +25,8 @@ USERMAP_GID=1000
# This is required if you will be exposing Paperless-ngx on a public domain # This is required if you will be exposing Paperless-ngx on a public domain
# (if doing so please consider security measures such as reverse proxy) # (if doing so please consider security measures such as reverse proxy)
PAPERLESS_URL=https://paperless.augendre.info PAPERLESS_URL=https://paperless.augendre.info
PAPERLESS_ALLOWED_HOSTS=paperless.augendre.info
PAPERLESS_USE_X_FORWARD_HOST=true
# Adjust this key if you plan to make paperless available publicly. It should # 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. # be a very long sequence of random characters. You don't need to remember it.
@ -49,6 +51,8 @@ PAPERLESS_CONSUMER_BARCODE_STRING=PATCHT
PAPERLESS_TASK_WORKERS=2 PAPERLESS_TASK_WORKERS=2
PAPERLESS_OCR_USER_ARGS={"invalidate_digital_signatures": true} PAPERLESS_OCR_USER_ARGS={"invalidate_digital_signatures": true}
PAPERLESS_WEBSERVER_WORKERS=2
PAPERLESS_FILENAME_FORMAT={{ '{{' }} created_year }}/{{ '{{' }} correspondent }}/{{ '{{' }} title }} PAPERLESS_FILENAME_FORMAT={{ '{{' }} created_year }}/{{ '{{' }} correspondent }}/{{ '{{' }} title }}
PAPERLESS_EMAIL_HOST=smtp.mailgun.org PAPERLESS_EMAIL_HOST=smtp.mailgun.org
@ -56,3 +60,5 @@ PAPERLESS_EMAIL_PORT=587
PAPERLESS_EMAIL_USE_TLS=true PAPERLESS_EMAIL_USE_TLS=true
PAPERLESS_EMAIL_HOST_USER={{ email_user }} PAPERLESS_EMAIL_HOST_USER={{ email_user }}
PAPERLESS_EMAIL_HOST_PASSWORD={{ email_password }} PAPERLESS_EMAIL_HOST_PASSWORD={{ email_password }}
PAPERLESS_IGNORE_DATES={{ ignore_dates }}