Implements reading from a Docker secrets file in place of an environment variable for certain settings

This commit is contained in:
Trenton Holmes
2022-05-24 13:15:01 -07:00
committed by Johann Bauer
parent 52047b8167
commit 00059e9482
2 changed files with 59 additions and 0 deletions

View File

@@ -200,6 +200,19 @@ Install Paperless from Docker Hub
You can copy any setting from the file ``paperless.conf.example`` and paste it here.
Have a look at :ref:`configuration` to see what's available.
.. note::
You can utilize Docker secrets for some configuration settings by
appending `_FILE` to some configuration values. This is supported currently
only by:
* PAPERLESS_DBUSER
* PAPERLESS_DBPASS
* PAPERLESS_SECRET_KEY
* PAPERLESS_AUTO_LOGIN_USERNAME
* PAPERLESS_ADMIN_USER
* PAPERLESS_ADMIN_MAIL
* PAPERLESS_ADMIN_PASSWORD
.. caution::
Some file systems such as NFS network shares don't support file system