mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-06 15:15:58 +00:00
Docker: revert PR #522, use one single joex instance
Reverts https://github.com/eikek/docspell/pull/552 to use a simpler setup. Leave instructions to get back the more advanced setup provided by PR #522. Also, #617 has more contextual info. Fixes: #608
This commit is contained in:
parent
bda2ed0e13
commit
a4462c626b
@ -15,6 +15,7 @@ services:
|
|||||||
|
|
||||||
joex:
|
joex:
|
||||||
image: eikek0/docspell:joex-LATEST
|
image: eikek0/docspell:joex-LATEST
|
||||||
|
container_name: docspell-joex
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
ports:
|
ports:
|
||||||
|
@ -1,3 +1,19 @@
|
|||||||
|
# This is the configuration file for docspell. It contains two main
|
||||||
|
# namespaces: docspell.server and docspell.joex. Each provide the
|
||||||
|
# config for the respective component.
|
||||||
|
#
|
||||||
|
# They can be moved to different files, if necessary. For this example
|
||||||
|
# though, both components are configured in this single file.
|
||||||
|
#
|
||||||
|
# Below are only some settings that differ from the default. Please
|
||||||
|
# see https://docspell.org/docs/configure/#default-config for all
|
||||||
|
# options and their documentation. This page provides deeper
|
||||||
|
# information about the important config options.
|
||||||
|
#
|
||||||
|
# Note: this docker-compose setup is an example to get started. It
|
||||||
|
# sets up one rest-server, one joex, a postgres database and a solr –
|
||||||
|
# all on the same machine.
|
||||||
|
|
||||||
docspell.server {
|
docspell.server {
|
||||||
base-url = "http://localhost:7880"
|
base-url = "http://localhost:7880"
|
||||||
bind {
|
bind {
|
||||||
@ -26,8 +42,15 @@ docspell.server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Note to joex: It is currently setup for one instance. Should you
|
||||||
|
# want to scale joex instance up (maybe to help processing a batch of
|
||||||
|
# files), there are two options:
|
||||||
|
#
|
||||||
|
# - look at https://github.com/eikek/docspell/pull/552 to elastically
|
||||||
|
# start and stop joex instances via docker-compose
|
||||||
|
# - set pool-size to some higher number; this requires to restart joex
|
||||||
|
#
|
||||||
docspell.joex {
|
docspell.joex {
|
||||||
app-id = "joex-"${HOSTNAME}
|
|
||||||
base-url = "http://"${HOSTNAME}":7878"
|
base-url = "http://"${HOSTNAME}":7878"
|
||||||
bind {
|
bind {
|
||||||
address = "0.0.0.0"
|
address = "0.0.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user