Use the dsc tool for the consumedir docker container

This commit is contained in:
eikek 2021-07-25 00:14:34 +02:00
parent b01cb7715e
commit 96adde7172

View File

@ -30,16 +30,19 @@ services:
- solr
consumedir:
image: docspell/tools:latest
image: docspell/dsc:nightly
container_name: docspell-consumedir
command:
- ds-consumedir
- "-vmdi"
- "--path"
- "/opt/docs"
- "--iheader"
- dsc
- "-vv"
- "-d"
- "http://docspell-restserver:7880"
- "watch"
- "--delete"
- "-ir"
- "--header"
- "Docspell-Integration:$DOCSPELL_HEADER_VALUE"
- "http://docspell-restserver:7880/api/v1/open/integration/item"
- "/opt/docs"
restart: unless-stopped
env_file: ./.env
volumes: