mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +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
|
# The value after `Docspell-Integration` must match the secret
|
||||||
# specified at the restserver via
|
# specified at the restserver via
|
||||||
# DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE.
|
# DOCSPELL_SERVER_INTEGRATION__ENDPOINT_HTTP__HEADER_HEADER__VALUE.
|
||||||
|
#
|
||||||
|
# The --not-matches "**/.*" option is to exclude hidden files.
|
||||||
consumedir:
|
consumedir:
|
||||||
image: docspell/dsc:latest
|
image: docspell/dsc:latest
|
||||||
container_name: docspell-consumedir
|
container_name: docspell-consumedir
|
||||||
@ -75,6 +77,8 @@ services:
|
|||||||
- "watch"
|
- "watch"
|
||||||
- "--delete"
|
- "--delete"
|
||||||
- "-ir"
|
- "-ir"
|
||||||
|
- "--not-matches"
|
||||||
|
- "**/.*"
|
||||||
- "--header"
|
- "--header"
|
||||||
- "Docspell-Integration:integration-password123"
|
- "Docspell-Integration:integration-password123"
|
||||||
- "/opt/docs"
|
- "/opt/docs"
|
||||||
|
Reference in New Issue
Block a user