Files
self-hosted-docker-setups/paperless-ng/docker-compose.env
2021-09-29 13:08:47 -05:00

55 lines
2.2 KiB
Bash

# The UID and GID of the user used to run paperless in the container. Set this
# to your UID and GID on the host so that you have write access to the
# consumption directory.
USERMAP_UID=1000
USERMAP_GID=1000
# Additional languages to install for text recognition, separated by a
# whitespace. Note that this is
# different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines the
# language used for OCR.
# The container installs English, German, Italian, Spanish and French by
# default.
# See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names&suite=buster
# for available languages.
#PAPERLESS_OCR_LANGUAGES=tur ces
###############################################################################
# Paperless-specific settings #
###############################################################################
# All settings defined in the paperless.conf.example can be used here. The
# Docker setup does not use the configuration file.
# A few commonly adjusted settings are provided below.
# 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.
#PAPERLESS_SECRET_KEY=change-me
# Use this variable to set a timezone for the Paperless Docker containers. If not specified, defaults to UTC.
PAPERLESS_TIME_ZONE=America/Chicago
# The default language to use for OCR. Set this to the language most of your
# documents are written in.
#PAPERLESS_OCR_LANGUAGE=eng
# Paperless will only OCR the first page of the documents
#PAPERLESS_OCR_PAGES=1
# Configure Paperless to use only 2 workers and 1 thread
PAPERLESS_TASK_WORKERS=2
PAPERLESS_THREADS_PER_WORKER=1
# Configure Paperless to save some memory on the webserver
PAPERLESS_WEBSERVER_WORKERS=1
#### Configure Tika and Gotenberg for parsing and converting "Office" documents (such as ".doc", ".xlsx" and ".odt")
# Enable the Tika parser
PAPERLESS_TIKA_ENABLED=1
# Set the endpoint URL where Paperless can reach your Tika server
PAPERLESS_TIKA_ENDPOINT="http://localhost:9998"
# Set the endpoint URL where Paperless can reach your Gotenberg server
PAPERLESS_TIKA_GOTENBERG_ENDPOINT="http://localhost:3000"