mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +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:
parent
c3ad410139
commit
f1fbfac60b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user