98 Commits

Author SHA1 Message Date
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
Starbeamrainbowlabs
9ede9010c7 docker-entrypoint.sh: split non-root tasks into docker-prepare.sh 2021-04-08 00:03:55 +01:00
Starbeamrainbowlabs
bc78e7f4f9 docker: mark scripts as executable 2021-04-07 23:19:20 +01:00
jonaswinkler
05545aa59b force update of search index if out of date 2021-04-05 21:33:17 +02:00
Chris Nagy
271ca50930 Add superuser management script 2021-03-14 19:43:22 +01:00
jonaswinkler
a0c1887fc3 added sanity checker management command for manual execution #534 2021-02-13 16:39:29 +01:00
jonaswinkler
6220b7f020 reprganized docker file, less layers, new shortcuts for management commands 2021-02-12 16:53:51 +01:00
jonaswinkler
43d60f4bbe Merge branch 'feature-websockets-status' into dev 2021-01-31 14:37:15 +01:00
jonaswinkler
494ee181d1 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
89cb41d564 update configuration 2021-01-27 19:57:04 +01:00
jonaswinkler
044aa55d74 Merge branch 'dev' into feature-websockets-status 2021-01-23 22:22:17 +01:00
jonaswinkler
f5029e6a43 add temporary directory during startup and ensure correct permissions 2021-01-21 01:02:41 +01:00
jonaswinkler
244775c264 update docker compose files and documentation #339 2021-01-14 12:59:39 +01:00
jonaswinkler
bd71f86601 move compose files 2021-01-14 01:56:10 +01:00
jonaswinkler
1d633b0bab added some messages to the docker startup script 2021-01-13 19:58:09 +01:00
jonaswinkler
ae49a4509b update docker-compose.env 2021-01-12 13:51:29 +01:00
jonaswinkler
6f8aa3500a only restart docker unless stopped 2021-01-12 00:21:05 +01:00
jonaswinkler
07f1ecab32 copy files into place 2021-01-12 00:15:20 +01:00
jonaswinkler
89f9706911 update installation instructions 2021-01-07 21:16:16 +01:00