169 Commits

Author SHA1 Message Date
Trenton H
ee47a043c8 Skip running system checks before migrate, then run them directly after instead 2022-12-15 11:50:15 -08:00
Trenton H
7af355191d Bakes the NLTK data into the image (~60mb) 2022-12-07 09:36:32 -08:00
Trenton Holmes
a925af3aea Merge remote-tracking branch 'upstream/dev' into feature-consume-eml 2022-12-04 13:55:46 -08:00
Trenton Holmes
a514219565 Fixes the custom scripts not running as root 2022-12-01 07:21:25 -08:00
phail
03f1b09f43 adapt compose file for eml parsing 2022-11-30 10:16:39 +01:00
phail
3300ee091d Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-11-30 10:10:57 +01:00
Trenton H
86938cd6ac Use docker compose to start and stop containers which match directly to our command overrides 2022-11-29 20:11:40 -08:00
phail
6fe06e75a2 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-11-13 22:43:55 +01:00
Trenton H
3d2f249e97 Fixes an issue with the install of languages and read-only variable 2022-11-10 17:25:39 -08:00
Trenton H
fbce827583 Merge branch 'dev' into beta 2022-11-09 13:51:10 -08:00
Trenton H
a2138daafc Fixes the paths to binaries 2022-11-08 08:52:01 -08:00
Trenton Holmes
ec866caec5 Limits tamper check find to depth 1, as only files at the first level could be run 2022-11-08 08:52:01 -08:00
Trenton Holmes
ed7b82ecc8 Adds local and readonly to almost everything. Fully qualifies the path to binaries 2022-11-08 08:52:01 -08:00
Trenton Holmes
0903a2a21e It's not a customer 2022-11-08 08:52:01 -08:00
Trenton Holmes
2c3e19182d Corrects the ls command redirection 2022-11-08 08:52:01 -08:00
Trenton Holmes
b61473b1f7 Adds an untested custom startup functionality 2022-11-08 08:52:01 -08:00
phail
32ee7aa26c Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-10-24 21:12:35 +02:00
Trenton H
28d50d5c36 Integrates an optional starting of Flower into the Docker image 2022-10-24 09:17:38 -07:00
phail
20a0ba6e57 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-10-23 20:37:22 +02:00
phail
20e84558d6 add unittest for external images 2022-10-22 00:44:32 +02: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
Michael Shamoon
c37153c44c Mariadb compose files should use PAPERLESS_DBPASS 2022-09-28 09:38:13 -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
phail
4a89e0941f Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-07-12 00:09:10 +02: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