Commit Graph

106 Commits

Author SHA1 Message Date
Trenton Holmes 7cbb73be7a Minor improvements for quality of life 2022-05-09 12:05:29 -07:00
Trenton Holmes 2c3cb7f516 Adds stopasgroup to the qcluster run command, as recommended by the documentation 2022-05-05 07:37:53 -07:00
Michael Shamoon 49644ce18a Add timeout to healthcheck 2022-05-04 18:58:58 -07:00
Quinn Casey 939dd17910 Update Gotenberg to 7.4 2022-05-02 09:16:42 -07:00
Quinn Casey d58b1a7de7 Update Tika documentation 2022-05-02 09:02:29 -07:00
Quinn Casey a938895e5e Use our arm compatible tika container 2022-05-02 08:23:04 -07:00
Anthony Ruhier c66de5931c 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 2407798d2e 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 6c70db31bd Incorporates the base image building back into the main repo with multi stage building 2022-04-25 11:32:52 -07:00
Quinn Casey bc5b6db031 Fix gotenberg image 2022-04-13 08:16:35 -07:00
Michael Shamoon ca0e86757b add PAPERLESS_URL env variable for CSRF 2022-04-08 00:27:53 -07:00
Trenton Holmes 19cf66be0f 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 5065f2cb80 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 07623f9883 Removed nested quotes 2022-03-21 19:45:46 +01:00
Schnuffle c2c8a27545 Corrections to pass pre-commit hooks 2022-03-20 15:58:37 +01:00
Felix E e8a073d538 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 c8ac686b22 Merge pull request #35 from Tooa/1250-gotenberg-follow-up
fix(gotenberg): use command flags
2022-03-19 11:03:32 +01:00
addi 1782d00cc5 fix issue 374 2022-03-18 23:26:04 +01:00
Tooa 6fb856ee70 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 c748394ff0 Update docs, yml to -ngx 2022-03-02 10:03:37 -08:00
Stéphane Brunner f8679a251e Use the image on ghcr.io (#104) 2022-03-02 15:49:50 +01:00
Quinn Casey ba561604f0 Add back line break (curse you gitlens) 2022-02-22 10:09:34 -08:00
Quinn Casey bad4be4cbc Use a named volume for broker 2022-02-22 10:01:09 -08:00
Uli Fahrer 2dcacaee14 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 5ee1f6b82b Merge branch 'normalize-whitespace' into dev 2021-06-13 19:06:08 +02:00
Michael Lynch 372ac3a40c 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 7148c10f1b update docker entrypoint 2021-06-13 12:54:24 +02:00
jonaswinkler 3b912a0de1 improved docker startup time 2021-05-19 22:26:51 +02:00
jonaswinkler c72791bd21 Fix file permissions 2021-05-19 22:05:23 +02:00
Jonas Winkler 61b47e358f correct file mode 2021-05-16 01:22:51 +02:00
Christopher Timm 5765893f69 Use gosu instead of sudo for easier configuration
#879
2021-04-26 19:06:30 -05:00
jonaswinkler 17b9d7eb42 Merge branch 'master' into dev 2021-04-18 12:41:52 +02:00
jonaswinkler 0a897cae32 bugfix 2021-04-18 11:29:12 +02:00
jonaswinkler 8566682209 add test case, update password if changed 2021-04-17 14:33:07 +02:00
jonaswinkler 4f9ae17059 Merge branch 'dev' into feature/superuser-manager
# Conflicts:
#	docker/docker-entrypoint.sh
2021-04-17 14:10:56 +02:00
jonaswinkler 7f9f805c5f Merge branch 'dev' into feature/superuser-manager 2021-04-17 14:01:42 +02:00
Lukasz Knop 2eac8fa91c disabled unnecessary overrides, copied variable comments 2021-04-11 21:48:50 +02:00
Lukasz Knop 31f5e178b3 add single compose file for usage in portainer environments 2021-04-11 15:16:04 +02:00
Chris Nagy cb4e738a0f Fix env variable in docker entrypoint 2021-04-10 13:50:52 +02:00
Starbeamrainbowlabs b761a549c0 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
Starbeamrainbowlabs dd7c5da256 docker-entrypoint.sh: split non-root tasks into docker-prepare.sh 2021-04-08 00:03:55 +01:00
Starbeamrainbowlabs 02dd7ec615 docker: mark scripts as executable 2021-04-07 23:19:20 +01:00
jonaswinkler ca2bf962e9 force update of search index if out of date 2021-04-05 21:33:17 +02:00
Chris Nagy e3ba968fef Add superuser management script 2021-03-14 19:43:22 +01:00
jonaswinkler 8b2965d55b added sanity checker management command for manual execution #534 2021-02-13 16:39:29 +01:00
jonaswinkler d6c3471909 reprganized docker file, less layers, new shortcuts for management commands 2021-02-12 16:53:51 +01:00
jonaswinkler fd59def1bd Merge branch 'feature-websockets-status' into dev 2021-01-31 14:37:15 +01:00
jonaswinkler adb76eafaf moved gunicorn.conf.py to a more appropriate place and reference that in the configuration scripts. 2021-01-31 13:52:21 +01:00
jonaswinkler 7414b3d23a update configuration 2021-01-27 19:57:04 +01:00
jonaswinkler 05d69c0882 Merge branch 'dev' into feature-websockets-status 2021-01-23 22:22:17 +01:00