|
| 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 | + |
1 | 17 | docspell.server { |
2 | 18 | base-url = "http://localhost:7880" |
3 | 19 | bind { |
@@ -26,8 +42,15 @@ docspell.server { |
26 | 42 | } |
27 | 43 | } |
28 | 44 |
|
| 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 | +# |
29 | 53 | docspell.joex { |
30 | | - app-id = "joex-"${HOSTNAME} |
31 | 54 | base-url = "http://"${HOSTNAME}":7878" |
32 | 55 | bind { |
33 | 56 | address = "0.0.0.0" |
|
0 commit comments