Document invalid options in rootless containers (#5122)

Specifying `PAPERLESS_OCR_LANGUAGES` in rootless containers is not possible since the extra languages are currently installed with apt which requires root.

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
This commit is contained in:
Christoph Loy 2024-01-01 17:00:05 +01:00 committed by GitHub
parent bd904d9e6b
commit 3f4f4444f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -1310,6 +1310,10 @@ specified as "chi-tra".
Defaults to none, which does not install any additional languages. Defaults to none, which does not install any additional languages.
!!! warning
This option must not be used in rootless containers.
#### [`PAPERLESS_ENABLE_FLOWER=<defined>`](#PAPERLESS_ENABLE_FLOWER) {#PAPERLESS_ENABLE_FLOWER} #### [`PAPERLESS_ENABLE_FLOWER=<defined>`](#PAPERLESS_ENABLE_FLOWER) {#PAPERLESS_ENABLE_FLOWER}
: If this environment variable is defined, the Celery monitoring tool : If this environment variable is defined, the Celery monitoring tool

View File

@ -120,6 +120,10 @@ steps described in [Docker setup](#docker_hub) automatically.
**Rootless** **Rootless**
!!! warning
It is currently not possible to run the container rootless if additional languages are specified via `PAPERLESS_OCR_LANGUAGES`.
If you want to run Paperless as a rootless container, you will need If you want to run Paperless as a rootless container, you will need
to do the following in your `docker-compose.yml`: to do the following in your `docker-compose.yml`: