mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-24 03:26:11 -05:00 
			
		
		
		
	 dd3b5c129c
			
		
	
	dd3b5c129c
	
	
	
		
			
			* Added devcontainer * Add feature storage pathes * Exclude tests and add versioning * Check escaping * Check escaping * Check quoting * Echo * Escape * Escape : * Double escape \ * Escaping * Remove if * Escape colon * Missing \ * Esacpe : * Escape all * test * Remove sed * Fix exclude * Remove SED command * Add LD_LIBRARY_PATH * Adjusted to v1.7 * Updated test-cases * Remove devcontainer * Removed internal build-file * Run pre-commit * Corrected flak8 error * Adjusted to v1.7 * Updated test-cases * Corrected flak8 error * Adjusted to new plural translations * Small adjustments due to code-review backend * Adjusted line-break * Removed PAPERLESS prefix from settings variables * Corrected style change due to search+replace * First documentation draft * Revert changes to Pipfile * Add sphinx-autobuild with keep-outdated * Revert merge error that results in wrong storage path is evaluated * Adjust styles of generated files ... * Adds additional testing to cover dynamic storage path functionality * Remove unnecessary condition * Add hint to edit storage path dialog * Correct spelling of pathes to paths * Minor documentation tweaks * Minor typo * improving wrapping of filter editor buttons with new storage path button * Update .gitignore * Fix select border radius in non input-groups * Better storage path edit hint * Add note to edit storage path dialog re document_renamer * Add note to bulk edit storage path re document_renamer * Rename FILTER_STORAGE_DIRECTORY to PATH * Fix broken filter rule parsing * Show default storage if unspecified * Remove note re storage path on bulk edit * Add basic validation of filename variables Co-authored-by: Markus Kling <markus@markus-kling.net> Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com> Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Co-authored-by: Quinn Casey <quinn@quinncasey.com>
		
			
				
	
	
		
			88 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			88 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Have a look at the docs for documentation.
 | |
| # https://paperless-ngx.readthedocs.io/en/latest/configuration.html
 | |
| 
 | |
| # Debug. Only enable this for development.
 | |
| 
 | |
| #PAPERLESS_DEBUG=false
 | |
| 
 | |
| # Required services
 | |
| 
 | |
| #PAPERLESS_REDIS=redis://localhost:6379
 | |
| #PAPERLESS_DBHOST=localhost
 | |
| #PAPERLESS_DBPORT=5432
 | |
| #PAPERLESS_DBNAME=paperless
 | |
| #PAPERLESS_DBUSER=paperless
 | |
| #PAPERLESS_DBPASS=paperless
 | |
| #PAPERLESS_DBSSLMODE=prefer
 | |
| 
 | |
| # Paths and folders
 | |
| 
 | |
| #PAPERLESS_CONSUMPTION_DIR=../consume
 | |
| #PAPERLESS_DATA_DIR=../data
 | |
| #PAPERLESS_TRASH_DIR=
 | |
| #PAPERLESS_MEDIA_ROOT=../media
 | |
| #PAPERLESS_STATICDIR=../static
 | |
| #PAPERLESS_FILENAME_FORMAT=
 | |
| #PAPERLESS_FILENAME_FORMAT_REMOVE_NONE=
 | |
| 
 | |
| # Security and hosting
 | |
| 
 | |
| #PAPERLESS_SECRET_KEY=change-me
 | |
| #PAPERLESS_URL=https://example.com
 | |
| #PAPERLESS_CSRF_TRUSTED_ORIGINS=https://example.com # can be set using PAPERLESS_URL
 | |
| #PAPERLESS_ALLOWED_HOSTS=example.com,www.example.com # can be set using PAPERLESS_URL
 | |
| #PAPERLESS_CORS_ALLOWED_HOSTS=https://localhost:8080,https://example.com # can be set using PAPERLESS_URL
 | |
| #PAPERLESS_FORCE_SCRIPT_NAME=
 | |
| #PAPERLESS_STATIC_URL=/static/
 | |
| #PAPERLESS_AUTO_LOGIN_USERNAME=
 | |
| #PAPERLESS_COOKIE_PREFIX=
 | |
| #PAPERLESS_ENABLE_HTTP_REMOTE_USER=false
 | |
| 
 | |
| # OCR settings
 | |
| 
 | |
| #PAPERLESS_OCR_LANGUAGE=eng
 | |
| #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=UTC
 | |
| #PAPERLESS_CONSUMER_POLLING=10
 | |
| #PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
 | |
| #PAPERLESS_CONSUMER_RECURSIVE=false
 | |
| #PAPERLESS_CONSUMER_IGNORE_PATTERNS=[".DS_STORE/*", "._*", ".stfolder/*", ".stversions/*", ".localized/*", "desktop.ini"]
 | |
| #PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
 | |
| #PAPERLESS_CONSUMER_ENABLE_BARCODES=false
 | |
| #PAPERLESS_CONSUMER_ENABLE_BARCODES=PATCHT
 | |
| #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=
 | |
| #PAPERLESS_ENABLE_UPDATE_CHECK=
 | |
| 
 | |
| # 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
 |