mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Add consumedir-entrypoint.sh to allow polling consumedir
This commit is contained in:
@ -13,7 +13,7 @@ RUN apk add --no-cache curl bash inotify-tools
|
||||
|
||||
COPY --from=docspell-base-binaries /opt/docspell-tools /opt/docspell-tools
|
||||
|
||||
ENTRYPOINT /opt/docspell-tools/consumedir/consumedir.sh --path /opt/docs -i --iheader Docspell-Integration:$DOCSPELL_HEADER_VALUE -m http://docspell-restserver:7880/api/v1/open/integration/item -v
|
||||
ENTRYPOINT ["/opt/docspell-tools/consumedir/consumedir-entrypoint.sh"]
|
||||
|
||||
HEALTHCHECK --interval=1m --timeout=10s --retries=2 --start-period=10s \
|
||||
CMD pgrep inotifywait
|
||||
|
Reference in New Issue
Block a user