From f1fbfac60b2af8377c4b4d85ea93fb01cd224f61 Mon Sep 17 00:00:00 2001 From: eikek Date: Sat, 18 Dec 2021 13:21:54 +0100 Subject: [PATCH] Exclude hidden files in consumedir (docker-compose example) Many systems use filenames starting with a dot as hidden. --- docker/docker-compose/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/docker-compose/docker-compose.yml b/docker/docker-compose/docker-compose.yml index 1babfcc3..61183570 100644 --- a/docker/docker-compose/docker-compose.yml +++ b/docker/docker-compose/docker-compose.yml @@ -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"