Skip to content

Commit c0e9597

Browse files
authored
Merge pull request #702 from eikek/docker-fix-joex-host
Docker: revert PR #522, use one single joex instance
2 parents bda2ed0 + a4462c6 commit c0e9597

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515

1616
joex:
1717
image: eikek0/docspell:joex-LATEST
18+
container_name: docspell-joex
1819
restart: unless-stopped
1920
env_file: ./.env
2021
ports:

docker/docspell.conf

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# This is the configuration file for docspell. It contains two main
2+
# namespaces: docspell.server and docspell.joex. Each provide the
3+
# config for the respective component.
4+
#
5+
# They can be moved to different files, if necessary. For this example
6+
# though, both components are configured in this single file.
7+
#
8+
# Below are only some settings that differ from the default. Please
9+
# see https://docspell.org/docs/configure/#default-config for all
10+
# options and their documentation. This page provides deeper
11+
# information about the important config options.
12+
#
13+
# Note: this docker-compose setup is an example to get started. It
14+
# sets up one rest-server, one joex, a postgres database and a solr –
15+
# all on the same machine.
16+
117
docspell.server {
218
base-url = "http://localhost:7880"
319
bind {
@@ -26,8 +42,15 @@ docspell.server {
2642
}
2743
}
2844

45+
# Note to joex: It is currently setup for one instance. Should you
46+
# want to scale joex instance up (maybe to help processing a batch of
47+
# files), there are two options:
48+
#
49+
# - look at https://github.com/eikek/docspell/pull/552 to elastically
50+
# start and stop joex instances via docker-compose
51+
# - set pool-size to some higher number; this requires to restart joex
52+
#
2953
docspell.joex {
30-
app-id = "joex-"${HOSTNAME}
3154
base-url = "http://"${HOSTNAME}":7878"
3255
bind {
3356
address = "0.0.0.0"

0 commit comments

Comments
 (0)