mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
36c29812c7
Container name can't be hard coded and each joex instance needs a unique name. Since Docker always sets the `HOSTNAME` variable and these are unique, we can just interpolate the hostname into the joex app identifier, to avoid creating multiple config files.
50 lines
949 B
Plaintext
50 lines
949 B
Plaintext
docspell.server {
|
|
base-url = "http://localhost:7880"
|
|
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://solr:8983/solr/docspell"
|
|
}
|
|
}
|
|
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://"${HOSTNAME}":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://solr:8983/solr/docspell"
|
|
}
|
|
}
|
|
scheduler {
|
|
pool-size = 1
|
|
}
|
|
}
|