Commit Graph

73 Commits

Author SHA1 Message Date
eikek
3841b4aadd Add missing timezone to docker container
Closes: #1234
2022-01-13 20:06:53 +01:00
eikek
f1fbfac60b Exclude hidden files in consumedir (docker-compose example)
Many systems use filenames starting with a dot as hidden.
2021-12-18 13:21:54 +01:00
eikek
93a828720c Merge remote-tracking branch 'origin/current-docs' 2021-12-11 00:01:47 +01:00
eikek
7afcdea9f6 Try older docker base image due to missing packages 2021-11-30 22:42:48 +01:00
eikek
8d2e597d56 Some documentation corrections 2021-11-22 12:49:29 +01:00
eikek
79c64f957d Remove extended memory setting in docker-compose 2021-11-19 22:22:32 +01:00
eikek
13f28f753a Use an internal url for the rest server to register for messages 2021-11-17 21:27:26 +01:00
eikek
927c3dfac9 Merge branch 'current-docs' 2021-11-12 22:30:39 +01:00
eikek
a1bf3957ba Change docker-compose to use env vars 2021-11-12 22:29:06 +01:00
Renovate Bot
af1bf346d9 Update postgres Docker tag to v14.1 2021-11-12 02:52:51 +00:00
eikek
26847dc970 Remove default config file in docker images
Since this file cannot be changed inside the image, and people need to
specify a new file or env variables, it doesn't make sense to add it.
Also if it is present, it is preferred to the env variables.
2021-10-25 11:27:17 +02:00
Renovate Bot
e4667116fd Update postgres Docker tag to v14 2021-10-01 01:56:36 +00:00
eikek
f74624485f Allow to manage passwords for a collective 2021-09-30 10:35:38 +02:00
wallace
589c41003f Add hebrew document language 2021-08-24 01:19:42 +03:00
eikek
d6af7dd659 Remove the "tools" docker image 2021-08-20 18:21:28 +02:00
eikek
326cf1c087 Use different japanese train files for tesseract
They seem to work better as suggested here:
https://github.com/tesseract-ocr/tessdata/issues/119

Refs: #973
2021-08-13 16:46:37 +02:00
Renovate Bot
93981fe869
Update postgres Docker tag to v13.4 2021-08-12 21:27:18 +00:00
eikek
9457de32b6 Fix health check in docker images 2021-08-11 19:23:15 +02:00
eikek
860e146bf0 Use latest dsc instead of nightly 2021-07-30 16:46:47 +02:00
eikek
96adde7172 Use the dsc tool for the consumedir docker container 2021-07-29 01:48:23 +02:00
eikek
f994d4b248 Add japanese document language 2021-07-28 20:05:48 +02:00
eikek
73b86e00f0 Provide admin endpoint section in the config by docker setup 2021-07-07 21:24:59 +02:00
eikek
180b8b3969 Fix solr url in docspell.conf for the docker setup 2021-07-07 21:20:57 +02:00
eikek
d6d2793554 Fix docker build script for releases 2021-06-18 23:53:41 +02:00
eikek
6984df42de Removing old docker setup 2021-06-18 22:27:29 +02:00
eikek
76e47310ce Docker buildx setup for multiple architectures 2021-06-08 21:29:36 +02:00
eikek
71b913b19f Add a release actions
Github workflows to create a nightly release automatically and a
stable release semi-automatic (a 2-step process).
2021-05-31 14:42:43 +02:00
eikek
b122d9eab0 Rework docker setup 2021-05-31 14:32:37 +02:00
Renovate Bot
a3059cf54c Update postgres Docker tag to v13.3 2021-05-14 22:42:43 +00:00
Renovate Bot
ac3cc80b70 Update postgres Docker tag to v13 2021-05-07 15:03:50 +00:00
Eike Kettner
df543a3e92 Make detecting version more reliable
The docker bash scripts try to get the version from sbt, without
calling sbt but reading the files. This was relying on a specific
position. It is now a bit more robust.
2021-04-12 00:42:48 +02:00
Renovate Bot
a3949e9cd0 Update postgres Docker tag to v11.11 2021-04-10 18:03:23 +00:00
Eike Kettner
a4462c626b 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
2021-03-11 01:02:13 +01:00
Eike Kettner
9991ad5fcc Add latvian language 2021-03-09 00:23:17 +01:00
Eike Kettner
131b721500 Try to fix the docker-hub build 2021-03-01 09:13:40 +01:00
Eike Kettner
42053cacca Add npm to docker build image
npm is now required to build docspell's new ui.
2021-02-14 10:33:59 +01:00
Jan Bader
ee67d49776
Fix CONSUMEDIR_DELETE being ignored
I just noticed that CONSUMEDIR_DELETE  wasn't handled yet. This fixes it.
2021-02-05 16:41:22 +01:00
Eike Kettner
198b2f8f96 Move consumedir entrypoint to docker and fix compose setup
To make it work as before, some env variables are necessary to be
available to the consumedir container. It's only needed there, but
since the env file exists, they are now listed there.

Also partially reverts the consumedir.dockerfile. Using the base-image
makes sure that all build images are created from the same sources.
2021-01-28 22:31:58 +01:00
Jan Bader
5df9d11d06 Simplify consumedir.dockerfile 2021-01-27 21:40:36 +01:00
Jan Bader
bebe0dabde Add consumedir-entrypoint.sh to allow polling consumedir 2021-01-27 21:13:16 +01:00
Markus Wüst
a917d66afd
Fix permission of scripts in base-binaries
Include shell files in subdirectory of `/opt/docspell-tools/` via `**/*.sh`.
2021-01-27 16:46:55 +01:00
Eike Kettner
189f202b21 Move tool scripts into a separate dir 2021-01-23 20:30:48 +01:00
Eike Kettner
3f75af0807 Add 9 more lanugages to the list of document lanugages 2021-01-18 17:41:40 +01:00
Eike Kettner
26dff18ae0 Add spanish as an example
Adding a new language without nlp requires now only to fill out the
pieces:

- define a list of month names to support date recognition
- add it to joex' dockerfile to be available for tesseract
- update the solr migration/field definitions
- update the elm file so it shows up on the client
2021-01-18 17:41:40 +01:00
Eike Kettner
f01646aeb5 Reorganize nlp pipeline and add nlp-unsupported language italian
Improves and reorganizes how nlp pipelines are setup. Now users can
choose from many options, depending on their hardware and usage
scenario.

This is the base to use more languages without depending on what
stanford-nlp supports. Support then is involves to text extraction and
simple regex-ner processing.
2021-01-18 17:41:40 +01:00
Bo Jeanes
36c29812c7 Allow scaling joex with docker-compose up --scale
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.
2021-01-09 10:33:11 +11:00
Eike Kettner
f7ffa10b07 Fix docker build
Currently these commands should be run in a single sbt session, since
the first one sets the elm compilation mode to "prod". Makes the js a
bit smaller removing debug infos.
2021-01-07 00:39:36 +01:00
Eike Kettner
2a172ce720 Remove fulltext recreate-key config value
It's now in the admin routes, protected by the
`admin-endpoint.secret`.
2021-01-04 15:18:02 +01:00
Eike Kettner
df1fc845e9 Docker: add missing language for tesseract
Closes: #525
2021-01-02 14:15:09 +01:00
totti4ever
5dbd35060a
Fix ocrmypdf containers not being removed after a run
before they would kind of lying around and pile up after a couple of processed items
2020-10-31 19:35:35 +01:00