diff --git a/playbooks/apps/paperless-ngx.yaml b/playbooks/apps/paperless-ngx.yaml index 442ab1a..bc9ba60 100644 --- a/playbooks/apps/paperless-ngx.yaml +++ b/playbooks/apps/paperless-ngx.yaml @@ -41,3 +41,10 @@ 34373039666464333139363136373561623662653839343435613861333335633339636131633530 61353563646332306536346431336331393531363065316136633837313465363934353763316664 393461396163306265613134363634653032 + ignore_dates: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 30323237343438383765613831656137616461376261356531303838303034353337333463613938 + 3233613639313665643237356131623738346565356532320a643639353764376235663361316562 + 37613830656639383032323865346333393663636535306230373439393363636434363430386531 + 3139336464633563340a656132313366313331356236393735313231663034623538356337316566 + 63303566343039633863386363326464386561326536626637353239636431633066 diff --git a/playbooks/apps/templates/paperless-ngx/docker-compose.env.j2 b/playbooks/apps/templates/paperless-ngx/docker-compose.env.j2 index 9635d8d..66b0dc8 100644 --- a/playbooks/apps/templates/paperless-ngx/docker-compose.env.j2 +++ b/playbooks/apps/templates/paperless-ngx/docker-compose.env.j2 @@ -25,6 +25,8 @@ USERMAP_GID=1000 # 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) 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 # 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_OCR_USER_ARGS={"invalidate_digital_signatures": true} +PAPERLESS_WEBSERVER_WORKERS=2 + PAPERLESS_FILENAME_FORMAT={{ '{{' }} created_year }}/{{ '{{' }} correspondent }}/{{ '{{' }} title }} PAPERLESS_EMAIL_HOST=smtp.mailgun.org @@ -56,3 +60,5 @@ PAPERLESS_EMAIL_PORT=587 PAPERLESS_EMAIL_USE_TLS=true PAPERLESS_EMAIL_HOST_USER={{ email_user }} PAPERLESS_EMAIL_HOST_PASSWORD={{ email_password }} + +PAPERLESS_IGNORE_DATES={{ ignore_dates }}