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 - solr
consumedir: consumedir:
image: docspell/tools:latest image: docspell/dsc:nightly
container_name: docspell-consumedir container_name: docspell-consumedir
command: command:
- ds-consumedir - dsc
- "-vmdi" - "-vv"
- "--path" - "-d"
- "/opt/docs" - "http://docspell-restserver:7880"
- "--iheader" - "watch"
- "--delete"
- "-ir"
- "--header"
- "Docspell-Integration:$DOCSPELL_HEADER_VALUE" - "Docspell-Integration:$DOCSPELL_HEADER_VALUE"
- "http://docspell-restserver:7880/api/v1/open/integration/item" - "/opt/docs"
restart: unless-stopped restart: unless-stopped
env_file: ./.env env_file: ./.env
volumes: volumes: