216 Commits

Author SHA1 Message Date
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
phail
d6b9eb6613 Merge branch 'dev' into feature-consume-eml 2022-05-20 19:29:52 +02: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
phail
9c5f824bb3 add parsing of inline attachments
remove insecure chromium option
fix html parsing
2022-05-03 23:21:33 +02:00
phail
830423cc41 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-05-03 17:42:56 +02: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
phail
276b99b340 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-04-29 23:52:56 +02:00
phail
79579d6239 add eml parser to paperless_mail 2022-04-29 22:58:11 +02: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
Jan-Hendrik Ewers
617c60a681 Add arm64 compatible docker-compose for sqlite-tika - resubmission of #27 (#479)
* Create arm variant for sqlite-tika as apache/tika does not support arm64 arch right now

https://github.com/jonaswinkler/paperless-ng/discussions/1256

* Update documentation to explain why there is a seemingly duplicated docker-compose file

* Add caveat about arm arch

* Update docs to encourage use of the new docker-compose

* Remove whitespace

https://github.com/jonaswinkler/paperless-ng/pull/1354/checks?check_run_id=3756807426

* Update docker container to use official ngx

Co-authored-by: Quinn Casey <quinn@quinncasey.com>

* doesn -> does not

* Update docker/compose/docker-compose.postgres-tika.yml

Co-authored-by: Jan-Hendrik Ewers <jh.ewers@gmail.com>

* Update docker/compose/docker-compose.sqlite-tika.arm.yml

Co-authored-by: Jan-Hendrik Ewers <jh.ewers@gmail.com>

* Update docker/compose/docker-compose.sqlite-tika.yml

Co-authored-by: Jan-Hendrik Ewers <jh.ewers@gmail.com>

* Update docker/compose/docker-compose.sqlite-tika.arm.yml

* Update docker-compose.sqlite-tika.arm.yml

* Update docker/compose/docker-compose.sqlite-tika.arm.yml

Co-authored-by: Jan-Hendrik Ewers <jh.ewers@gmail.com>

* Add redisdata to volumes

Co-authored-by: Quinn Casey <quinn@quinncasey.com>
2022-03-25 06:32:16 +07:00
Marc Schaefer
1b04148aef Removed nested quotes 2022-03-21 19:45:46 +01:00
Schnuffle
81c16f6bc0 Corrections to pass pre-commit hooks 2022-03-20 15:58:37 +01:00
Felix E
c0fb389c29 Merge pull request #440 from addich/fix-374
Allow USERMAP_UID to re-use existing UIDs
2022-03-19 11:04:36 +01:00
Felix E
a378265dc8 Merge pull request #35 from Tooa/1250-gotenberg-follow-up
fix(gotenberg): use command flags
2022-03-19 11:03:32 +01:00
addi
f9928db04f fix issue 374 2022-03-18 23:26:04 +01:00
Tooa
18f97b8f59 fix(gotenberg): use command flags
Gotenberg v7 does not use environment variables anymore, but command's flags.

See: https://gotenberg.dev/docs/get-started/docker-compose#modules-properties
2022-03-13 07:40:31 +01:00
Quinn Casey
16a4c15adb Update docs, yml to -ngx 2022-03-02 10:03:37 -08:00
Stéphane Brunner
bb8493e1f3 Use the image on ghcr.io (#104) 2022-03-02 15:49:50 +01:00
Quinn Casey
8e758ef279 Add back line break (curse you gitlens) 2022-02-22 10:09:34 -08:00
Quinn Casey
ff36d37be6 Use a named volume for broker 2022-02-22 10:01:09 -08:00
Uli Fahrer
3ea164e4d2 fix(tika): adapt to Gotenberg 7 API
This commit adapts to the latest breaking changes from Gotenberg 7.
It also freezes the usage of the Gotenberg server to v7.x. Doing
this prevents further breaking changes leaking in our code base.

* refs #1250
2021-08-27 08:32:16 +02:00
jonaswinkler
2247e25a9b Merge branch 'normalize-whitespace' into dev 2021-06-13 19:06:08 +02:00
Michael Lynch
96738277d9 Normalize whitespace in source files
Ensure that no source files have trailing whitespace at end of lines and ensure that all files end with a single trailing newline.

This also adds Github Actions to enforce whitespace conventions.
2021-06-13 10:57:40 -04:00
jonaswinkler
8751b11ac3 update docker entrypoint 2021-06-13 12:54:24 +02:00
jonaswinkler
732a843975 improved docker startup time 2021-05-19 22:26:51 +02:00
jonaswinkler
8ddf16643c Fix file permissions 2021-05-19 22:05:23 +02:00
Jonas Winkler
dc565bd035 correct file mode 2021-05-16 01:22:51 +02:00
Christopher Timm
b976d56ce8 Use gosu instead of sudo for easier configuration
#879
2021-04-26 19:06:30 -05:00
jonaswinkler
0c4f69502d Merge branch 'master' into dev 2021-04-18 12:41:52 +02:00
jonaswinkler
ef924017ad bugfix 2021-04-18 11:29:12 +02:00
jonaswinkler
670bc0331d add test case, update password if changed 2021-04-17 14:33:07 +02:00
jonaswinkler
181bf5f6ef Merge branch 'dev' into feature/superuser-manager
# Conflicts:
#	docker/docker-entrypoint.sh
2021-04-17 14:10:56 +02:00
jonaswinkler
d3dd7b5100 Merge branch 'dev' into feature/superuser-manager 2021-04-17 14:01:42 +02:00
Lukasz Knop
6ea4055877 disabled unnecessary overrides, copied variable comments 2021-04-11 21:48:50 +02:00
Lukasz Knop
91abf68708 add single compose file for usage in portainer environments 2021-04-11 15:16:04 +02:00
Chris Nagy
128f31e21b Fix env variable in docker entrypoint 2021-04-10 13:50:52 +02:00
Starbeamrainbowlabs
1badd1a774 docker-prepare.sh: remove rogue instances of sudo
This is being done by calling the script as the correct user in the 
first place.
2021-04-08 03:06:01 +01:00