This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/docspell/configmap-docspellconf.yaml

59 lines
1.3 KiB
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: docspell-config
namespace: docspell
data:
docspell.conf: |
docspell.server {
app-id = ${HOSTNAME}
base-url = "https://"${BASE_URL}
bind {
address = "0.0.0.0"
}
integration-endpoint {
enabled = true
http-header {
enabled = true
header-value = ${?DOCSPELL_HEADER_VALUE}
}
}
# Configuration of the full-text search engine.
full-text-search {
enabled = true
solr = {
url = "http://solrtcp:8983/solr/docspell"
}
recreate-key = ${SOLR_RECREATE_KEY}
}
backend {
jdbc {
url = "jdbc:"${DB_TYPE}"://"${DB_HOST}":"${DB_PORT}"/"${DB_NAME}
user = ${DB_USER}
password = ${DB_PASS}
}
}
}
docspell.joex {
app-id = "joex-"${HOSTNAME}
base-url = "http://joex:7878"
bind {
address = "0.0.0.0"
}
jdbc {
url = "jdbc:"${DB_TYPE}"://"${DB_HOST}":"${DB_PORT}"/"${DB_NAME}
user = ${DB_USER}
password = ${DB_PASS}
}
full-text-search {
enabled = true
solr = {
url = "http://solrtcp:8983/solr/docspell"
}
}
scheduler {
pool-size = 1
}
}