mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
72 lines
3.1 KiB
Plaintext
72 lines
3.1 KiB
Plaintext
# Sample paperless.conf
|
|
# Copy this file to /etc/paperless.conf and modify it to suit your needs.
|
|
|
|
# This where your documents should go to be consumed. Make sure that it exists
|
|
# and that the user running the paperless service can read/write its contents
|
|
# before you start Paperless.
|
|
PAPERLESS_CONSUMPTION_DIR=""
|
|
|
|
# These values are required if you want paperless to check a particular email
|
|
# box every 10 minutes and attempt to consume documents from there. If you
|
|
# don't define a HOST, mail checking will just be disabled.
|
|
PAPERLESS_CONSUME_MAIL_HOST=""
|
|
PAPERLESS_CONSUME_MAIL_PORT=""
|
|
PAPERLESS_CONSUME_MAIL_USER=""
|
|
PAPERLESS_CONSUME_MAIL_PASS=""
|
|
|
|
# You must have a passphrase in order for Paperless to work at all. If you set
|
|
# this to "", GNUGPG will "encrypt" your PDF by writing it out as a zero-byte
|
|
# file.
|
|
#
|
|
# The passphrase you use here will be used when storing your documents in
|
|
# Paperless, but you can always export them in an unencrypted format by using
|
|
# document exporter. See the documentation for more information.
|
|
#
|
|
# One final note about the passphrase. Once you've consumed a document with
|
|
# one passphrase, DON'T CHANGE IT. Paperless assumes this to be a constant and
|
|
# can't properly export documents that were encrypted with an old passphrase if
|
|
# you've since changed it to a new one.
|
|
PAPERLESS_PASSPHRASE="secret"
|
|
|
|
# If you intend to consume documents either via HTTP POST or by email, you must
|
|
# have a shared secret here.
|
|
PAPERLESS_SHARED_SECRET=""
|
|
|
|
# After a document is consumed, Paperless can trigger an arbitrary script if
|
|
# you like. This script will be passed a number of arguments for you to work
|
|
# with. For more information, please see the documentation. The default is
|
|
# blank, which means nothing will be executed.
|
|
#PAPERLESS_POST_CONSUME_SCRIPT="/path/to/an/arbitrary/script.sh"
|
|
|
|
|
|
#
|
|
# The following values use sensible defaults for modern systems, but if you're
|
|
# running Paperless on a low-resource machine (like a Raspberry Pi), modifying
|
|
# some of these values may be necessary.
|
|
#
|
|
|
|
|
|
# By default, Paperless will attempt to use all available CPU cores to process
|
|
# a document, but if you would like to limit that, you can set this value to
|
|
# an integer:
|
|
#PAPERLESS_OCR_THREADS=1
|
|
|
|
# On smaller systems, or even in the case of Very Large Documents, the consumer
|
|
# may explode, complaining about how it's "unable to extent pixel cache". In
|
|
# such cases, try setting this to a reasonably low value, like 32000000. The
|
|
# default is to use whatever is necessary to do everything without writing to
|
|
# disk, and units are in megabytes.
|
|
#
|
|
# For more information on how to use this value, you should probably search
|
|
# the web for "MAGICK_MEMORY_LIMIT".
|
|
#PAPERLESS_CONVERT_MEMORY_LIMIT=0
|
|
|
|
# Similar to the memory limit, if you've got a small system and your OS mounts
|
|
# /tmp as tmpfs, you should set this to a path that's on a physical disk, like
|
|
# /home/your_user/tmp or something. ImageMagick will use this as scratch space
|
|
# when crunching through very large documents.
|
|
#
|
|
# For more information on how to use this value, you should probably search
|
|
# the web for "MAGICK_TMPDIR".
|
|
#PAPERLESS_CONVERT_TMPDIR=/var/tmp/paperless
|