144 Commits

Author SHA1 Message Date
Trenton Holmes
b61473b1f7 Adds an untested custom startup functionality 2022-11-08 08:52:01 -08:00
Trenton H
28d50d5c36 Integrates an optional starting of Flower into the Docker image 2022-10-24 09:17:38 -07:00
Trenton H
d9bdb0b8e8 Adds skipping of NLTK data download if the feature appears disabled 2022-10-10 08:58:23 -07:00
Trenton Holmes
70b1988a55 Fixes the download and usage of the downloaded data 2022-10-10 08:58:23 -07:00
Trenton Holmes
8140f5aa33 Fixes CI unit testing 2022-10-10 08:58:23 -07:00
Trenton Holmes
66884ea035 Updates the pre-processing of document content to be much more robust, with tokenization, stemming and stop word removal 2022-10-10 08:58:23 -07:00
shamoon
3b1f5668f5 Merge pull request #1648 from paperless-ngx/feature-use-celery
Feature: Transition to celery for background tasks
2022-10-10 00:07:55 -07:00
Trenton Holmes
6b93eab4d6 Updates Gotenberg container to the latest 2022-10-09 17:55:09 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
lemmi
cd384c8cae paperless_cmd.sh: use exec to run supervisord
Without exec, signals aren't passed through properly. Stopping the
container won't have any effect unless killed.

closes #1616
2022-09-20 07:23:04 -07:00
Trenton H
61bb45124a Fixes an issue where the consume directory wasn't included in the permissions fix at Docker entry 2022-09-16 07:52:33 -07:00
Trenton Holmes
0474221b21 Merge branch 'main' into beta 2022-09-11 15:12:54 -07:00
Trenton Holmes
586661394e Fixes the shellcheck issues 2022-09-11 07:42:20 -07:00
Trenton Holmes
810d82eb80 Fully qualifies the image and updates to Redis 7 2022-09-11 07:42:20 -07:00
Brian Kelly
4e48d9bdec correct the mariadb volume data path 2022-09-11 07:40:32 -07:00
Brian Kelly
0b1ba0603a set paperless db user 2022-09-11 07:40:32 -07:00
Brian Kelly
32e1dc7778 remove debug image reference 2022-09-11 07:40:32 -07:00
Brian Kelly
14cd50a8c3 rebase mariadb feature onto dev 2022-09-11 07:40:31 -07:00
viktor-c
77bd899f34 Info about installing on subpath (#1350)
* Update docker-compose.env

* Update configuration.rst

example.com/paperless is not a subdomain, but a subpath. Also when hosting from a subdomain like paperless.example.com one does not have to change anything in the configuration, it just works, because paperless expects to be hosted at root, i.e. paperless.example.com
This however changes when paperless is not hosted at root anymore but for example at paperless.example.com/paperlessNgx

* Update docker-compose.env

* Apply suggestions from code review

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2022-08-31 16:36:13 -07:00
shamoon
08e143547b Merge pull request #1421 from paperless-ngx/feature-consumer-event-driven
Feature: Event driven consumer
2022-08-25 08:16:47 -07:00
Felix Eckhofer
16ff500f0d Use redis image tag :7 2022-08-18 11:47:47 +02:00
Dennis Gaida
64747a145a remove redis URL from log 2022-08-16 12:41:52 -07:00
Dennis Gaida
9d200e6102 Hide credentials from log 2022-08-16 12:41:52 -07:00
Dennis Gaida
cd83c8e7bf PAPERLESS_REDIS may be set via docker secrets
Best practice is for redis to be at least password protected: https://redis.io/docs/getting-started/.

Paperless uses `Redis.from_url` (5fe435048b/docker/wait-for-redis.py (L24)) to establish a connection to redis which already enables us to use username/password, e.g. `redis://username:password@redis:6379`.

The redis connection string therefore is a secret and needs to be able to leverage docker secrets, hence this PR.
2022-08-16 12:41:52 -07:00
Trenton Holmes
9e091e333d Attempts to make production consumer more event driven while still allowing unit testing 2022-08-14 17:47:59 -07:00
Trenton Holmes
c6f380d01e Fixes minor linting 2022-08-03 13:26:04 -07:00
Aidan Stein
b4fadcc776 move supervisord call into wrapper script 2022-07-15 11:00:46 -04:00
Aidan Stein
73ad5dcb85 negate second gosu command when running as paperless user 2022-07-15 11:00:46 -04:00
Aidan Stein
bd305e4a9c allow rootless (as paperless user) 2022-07-15 10:58:41 -04:00
Trenton Holmes
00059e9482 Implements reading from a Docker secrets file in place of an environment variable for certain settings 2022-07-03 10:56:01 +02:00
Trenton Holmes
762d28cc47 Converts the conversion into a database migration 2022-06-11 13:04:21 -07:00
Trenton Holmes
ce2958531a Corrects the functionality of the webp conversion script 2022-06-10 08:56:25 -07:00
Trenton Holmes
a24b6e39d7 Makes sure the export folder also exists 2022-06-03 14:02:58 -07:00
Trenton Holmes
914ab5176e Adds quotes around usages that may be of a user defined directory
Co-authored-by: Felix E <felix@eckhofer.com>
2022-06-03 11:21:13 -07:00
Trenton Holmes
b004aa0f28 Setup the defined user folders instead of always using the defaults at Docker startup 2022-06-03 09:18:48 -07:00
Sven Lankes
bd7c6b0736 We want gotenberg 7.4 and not pin to 7.4.4 2022-05-31 09:48:01 +02:00
Sven Lankes
20204b4e8d use qualified hostnames for images stored on docker.io 2022-05-29 13:50:58 +02:00
Trenton Holmes
fbb4e1bb65 Also output the exception when the Redis ping fails 2022-05-23 16:53:48 -07:00
Trenton Holmes
74815a489f Minor improvements for quality of life 2022-05-09 12:05:29 -07:00
Trenton Holmes
9a16c8aa16 Adds stopasgroup to the qcluster run command, as recommended by the documentation 2022-05-05 07:37:53 -07:00
Michael Shamoon
ac4595ec56 Add timeout to healthcheck 2022-05-04 18:58:58 -07:00
Quinn Casey
69267b286f Update Gotenberg to 7.4 2022-05-02 09:16:42 -07:00
Quinn Casey
32ac14ac0a Update Tika documentation 2022-05-02 09:02:29 -07:00
Quinn Casey
2afdb937c2 Use our arm compatible tika container 2022-05-02 08:23:04 -07:00
Anthony Ruhier
6b84ebc594 docker: set default postgresql port back to 5432
Postgresql default port in the docker prepare script has been changed by
mistake to 5342 in commit c2c8a2754. Set it back to 5432.
2022-04-28 02:04:19 +02:00
Trenton Holmes
44faa29a35 Adds simple Python to wait for Redis broker to be ready (with minor Dockerfile improvements) 2022-04-26 08:46:03 -07:00
Trenton Holmes
d744be97f4 Incorporates the base image building back into the main repo with multi stage building 2022-04-25 11:32:52 -07:00
Quinn Casey
4a82314384 Fix gotenberg image 2022-04-13 08:16:35 -07:00
Michael Shamoon
eb7cc30394 add PAPERLESS_URL env variable for CSRF 2022-04-08 00:27:53 -07:00
Trenton Holmes
8878b933f8 Updates the Dockerfile to utilize our new base image 1.0 which provides the pre-compiled wheels for certain dependencies and most base packages 2022-03-30 09:09:50 -07:00