diff --git a/stacks/paperless.opytex.org/docker-compose.yml b/stacks/paperless.opytex.org/docker-compose.yml index 2d51618..de32662 100644 --- a/stacks/paperless.opytex.org/docker-compose.yml +++ b/stacks/paperless.opytex.org/docker-compose.yml @@ -23,7 +23,7 @@ services: - backup.type=postgres webserver: - image: ghcr.io/paperless-ngx/paperless-ngx:2.20.15 + image: ghcr.io/paperless-ngx/paperless-ngx:3.0.5 restart: unless-stopped depends_on: - db diff --git a/stacks/paperless.opytex.org/env_file b/stacks/paperless.opytex.org/env_file index fbf9f77..f379c7e 100644 --- a/stacks/paperless.opytex.org/env_file +++ b/stacks/paperless.opytex.org/env_file @@ -52,3 +52,11 @@ PAPERLESS_ADMIN_USER=waha-local # Le provider lui-même est déclaré dans PAPERLESS_SOCIALACCOUNT_PROVIDERS, # côté docker-compose.yml. PAPERLESS_APPS=allauth.socialaccount.providers.openid_connect + +# --- Requis à partir de la v3 --- +# Le moteur n'est plus déduit de PAPERLESS_DBHOST. La valeur attendue est +# `postgresql` et non `postgres`. +PAPERLESS_DBENGINE=postgresql +# La v3 accepte les doublons par défaut ; ceci restaure le refus, qui était le +# comportement de la v2. +PAPERLESS_CONSUMER_DELETE_DUPLICATES=true