mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Merge remote-tracking branch 'paperless/dev' into feature-consume-eml
This commit is contained in:
		| @@ -392,3 +392,28 @@ a Docker installation, you can use volumes to accomplish this: | ||||
|         # ... | ||||
|         volumes: | ||||
|           - /path/to/my/flowerconfig.py:/usr/src/paperless/src/paperless/flowerconfig.py:ro | ||||
|  | ||||
| Custom Container Initialization | ||||
| ############################### | ||||
|  | ||||
| The Docker image includes the ability to run custom user scripts during startup.  This could be | ||||
| utilized for installing additional tools or Python packages, for example. | ||||
|  | ||||
| To utilize this, mount a folder containing your scripts to the custom initialization directory, `/custom-cont-init.d` | ||||
| and place scripts you wish to run inside.  For security, the folder and its contents must be owned by `root`. | ||||
| Additionally, scripts must only be writable by `root`. | ||||
|  | ||||
| Your scripts will be run directly before the webserver completes startup.  Scripts will be run by the `root` user. | ||||
| This is an advanced functionality with which you could break functionality or lose data. | ||||
|  | ||||
| For example, using Docker Compose: | ||||
|  | ||||
|  | ||||
| .. code:: yaml | ||||
|  | ||||
|     services: | ||||
|       # ... | ||||
|       webserver: | ||||
|         # ... | ||||
|         volumes: | ||||
|           - /path/to/my/scripts:/custom-cont-init.d:ro | ||||
|   | ||||
| @@ -705,16 +705,6 @@ PAPERLESS_CONSUMER_ENABLE_BARCODES=<bool> | ||||
|  | ||||
|     Defaults to false. | ||||
|  | ||||
| PAPERLESS_CONSUMER_USE_LEGACY_DETECTION=<bool> | ||||
|     Enables the legacy method of detecting barcodes.  By default, images are | ||||
|     extracted directly from the PDF structure for barcode detection.  If this | ||||
|     configuration value is set, images of the whole PDF page will be used instead. | ||||
|  | ||||
|     This is a slower and more memory intensive process, but may be required for | ||||
|     certain files, depending on how it is produced and how images are encoded. | ||||
|  | ||||
|     Defaults to false. | ||||
|  | ||||
|  | ||||
| PAPERLESS_CONSUMER_BARCODE_TIFF_SUPPORT=<bool> | ||||
|     Whether TIFF image files should be scanned for barcodes. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 phail
					phail