Provide admin endpoint section in the config by docker setup

This commit is contained in:
eikek 2021-07-07 21:21:14 +02:00
parent 180b8b3969
commit 73b86e00f0

View File

@ -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