1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paperless-ngx_ynh.git synced 2024-09-03 19:56:33 +02:00
paperless-ngx_ynh/conf/paperless.conf.example

90 lines
2.4 KiB
Text
Raw Normal View History

2022-03-29 17:50:14 +02:00
# Have a look at the docs for documentation.
# https://paperless-ngx.readthedocs.io/en/latest/configuration.html
# Debug. Only enable this for development.
2022-12-30 12:24:18 +01:00
PAPERLESS_DEBUG=false
2022-03-29 17:50:14 +02:00
# Required services
2022-12-30 12:24:18 +01:00
PAPERLESS_REDIS=redis://localhost:6379/__REDIS_DB__
2022-03-29 17:50:14 +02:00
PAPERLESS_DBHOST=localhost
PAPERLESS_DBPORT=5432
PAPERLESS_DBNAME=__DB_NAME__
PAPERLESS_DBUSER=__DB_USER__
PAPERLESS_DBPASS=__DB_PWD__
#PAPERLESS_DBSSLMODE=prefer
# Paths and folders
2022-12-30 12:24:18 +01:00
PAPERLESS_SCRATCH_DIR=/tmp/__APP__
PAPERLESS_CONSUMPTION_DIR=__DATADIR__/consume
PAPERLESS_DATA_DIR=__DATADIR__/data
2022-03-29 17:50:14 +02:00
#PAPERLESS_TRASH_DIR=
2022-12-30 12:24:18 +01:00
PAPERLESS_MEDIA_ROOT=__DATADIR__/media
2022-03-29 17:50:14 +02:00
#PAPERLESS_STATICDIR=../static
#PAPERLESS_FILENAME_FORMAT=
2023-02-08 18:27:52 +01:00
PAPERLESS_NLTK_DIR=__FINALPATH__/nltk_data
2022-03-29 17:50:14 +02:00
# Security and hosting
2022-12-30 12:24:18 +01:00
PAPERLESS_URL=https://__DOMAIN__
2022-03-29 17:50:14 +02:00
PAPERLESS_SECRET_KEY=__PAPERLESS_SECRET_KEY__
PAPERLESS_ALLOWED_HOSTS=__DOMAIN__
PAPERLESS_CORS_ALLOWED_HOSTS=https://__DOMAIN__
#PAPERLESS_FORCE_SCRIPT_NAME=
#PAPERLESS_STATIC_URL=/static/
#PAPERLESS_AUTO_LOGIN_USERNAME=
#PAPERLESS_COOKIE_PREFIX=
#PAPERLESS_ENABLE_HTTP_REMOTE_USER=false
# OCR settings
2023-01-11 21:12:19 +01:00
PAPERLESS_OCR_LANGUAGE=__OCR_LANGUAGE__
2022-03-29 17:50:14 +02:00
#PAPERLESS_OCR_MODE=skip
#PAPERLESS_OCR_OUTPUT_TYPE=pdfa
#PAPERLESS_OCR_PAGES=1
#PAPERLESS_OCR_IMAGE_DPI=300
#PAPERLESS_OCR_CLEAN=clean
#PAPERLESS_OCR_DESKEW=true
#PAPERLESS_OCR_ROTATE_PAGES=true
#PAPERLESS_OCR_ROTATE_PAGES_THRESHOLD=12.0
#PAPERLESS_OCR_USER_ARGS={}
#PAPERLESS_CONVERT_MEMORY_LIMIT=0
#PAPERLESS_CONVERT_TMPDIR=/var/tmp/paperless
# Software tweaks
#PAPERLESS_TASK_WORKERS=1
#PAPERLESS_THREADS_PER_WORKER=1
PAPERLESS_TIME_ZONE=__TIMEZONE__
#PAPERLESS_CONSUMER_POLLING=10
#PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
#PAPERLESS_CONSUMER_RECURSIVE=false
PAPERLESS_CONSUMER_IGNORE_PATTERNS=[".DS_STORE/*", "._*", ".stfolder/*", ".*"]
#PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
#PAPERLESS_OPTIMIZE_THUMBNAILS=true
#PAPERLESS_PRE_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
#PAPERLESS_FILENAME_DATE_ORDER=YMD
#PAPERLESS_FILENAME_PARSE_TRANSFORMS=[]
#PAPERLESS_THUMBNAIL_FONT_NAME=
#PAPERLESS_IGNORE_DATES=
# Tika settings
#PAPERLESS_TIKA_ENABLED=false
#PAPERLESS_TIKA_ENDPOINT=http://localhost:9998
#PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://localhost:3000
# Binaries
#PAPERLESS_CONVERT_BINARY=/usr/bin/convert
#PAPERLESS_GS_BINARY=/usr/bin/gs
#PAPERLESS_OPTIPNG_BINARY=/usr/bin/optipng
# YunoHost tweaks
PAPERLESS_LOGOUT_REDIRECT_URL=https://__MAIN_DOMAIN__/yunohost/sso/?action=logout