mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-10-31 17:50:11 +00:00 
			
		
		
		
	Exclude hidden files in consumedir (docker-compose example)
Many systems use filenames starting with a dot as hidden.
This commit is contained in:
		| @@ -65,6 +65,8 @@ services: | ||||
|   # The value after `Docspell-Integration` must match the secret | ||||
|   # specified at the restserver via | ||||
|   # DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE. | ||||
|   # | ||||
|   # The --not-matches "**/.*" option is to exclude hidden files. | ||||
|   consumedir: | ||||
|     image: docspell/dsc:latest | ||||
|     container_name: docspell-consumedir | ||||
| @@ -75,6 +77,8 @@ services: | ||||
|       - "watch" | ||||
|       - "--delete" | ||||
|       - "-ir" | ||||
|       - "--not-matches" | ||||
|       - "**/.*" | ||||
|       - "--header" | ||||
|       - "Docspell-Integration:integration-password123" | ||||
|       - "/opt/docs" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user