Exclude hidden files in consumedir (docker-compose example)

Many systems use filenames starting with a dot as hidden.
This commit is contained in:
eikek
2021-12-18 13:21:54 +01:00
parent c3ad410139
commit f1fbfac60b

View File

@ -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"