diff --git a/docker/docker-compose/docspell.conf b/docker/docker-compose/docspell.conf index ba746950..963d3ed9 100644 --- a/docker/docker-compose/docspell.conf +++ b/docker/docker-compose/docspell.conf @@ -34,6 +34,17 @@ docspell.server { header-value = ${?DOCSPELL_HEADER_VALUE} } } + + # This is a special endpoint that allows some basic administration. + # + # This is used for some endpoints, for example: + # - re-create complete fulltext index: + # curl -XPOST -H'Docspell-Admin-Secret: xyz' http://localhost:7880/api/v1/admin/fts/reIndexAll + admin-endpoint { + # The secret. If empty, the endpoint is disabled. + secret = "" + } + # Configuration of the full-text search engine. full-text-search { enabled = true