77 Commits

Author SHA1 Message Date
Jonas Winkler
71c60da268 Merge remote-tracking branch 'origin/dev' into dev 2021-05-16 01:23:07 +02:00
Jonas Winkler
dc565bd035 correct file mode 2021-05-16 01:22:51 +02:00
Fabian Ohler
ffca427f59 fix description of paperless-scheduler.service 2021-05-14 13:43:39 +02:00
Stelian Iancu
898fa2a85a Postgres won't run without a password. 2021-03-04 16:26:03 +01:00
jonaswinkler
ec9d18979a fix typo 2021-01-31 15:37:09 +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
eaae147e32 Merge branch 'dev' into travis-multiarch-builds 2021-01-07 17:41:44 +01:00
jonaswinkler
1b2806a6a9 fix release script 2021-01-07 00:08:42 +01:00
jonaswinkler
02abdfb626 update build scripts 2021-01-06 14:19:46 +01:00
jonaswinkler
1b6a9a6bdf update start_services.sh script 2021-01-01 21:50:32 +01:00
jonaswinkler
d702147b77 reorganized docker build. 2020-12-20 15:58:29 +01:00
jonaswinkler
d8b541bf0e version increment. 2020-12-16 17:01:20 +01:00
jonaswinkler
0676537ba8 removed the encryption logic. 2020-11-29 01:19:23 +01:00
jonaswinkler
186d9d5934 release script checklist 2020-11-27 17:36:57 +01:00
Jonas Winkler
8b0fd824d2 fix release script 2020-11-22 22:35:25 +01:00
Jonas Winkler
e625cbbd9d use docker compose for building 2020-11-22 00:35:19 +01:00
Jonas Winkler
dbe90994ca updated release script 2020-11-21 13:05:17 +01:00
Jonas Winkler
43cbf2fb59 updated the release process. 2020-11-19 13:19:45 +01:00
Jonas Winkler
45aab154de updated the build process, it now works on RPi as well. 2020-11-18 22:43:36 +01:00
Jonas Winkler
e0f78f9b93 more documentation. 2020-11-18 00:00:55 +01:00
Jonas Winkler
508d9b6e13 updated release scripts 2020-11-15 16:40:03 +01:00
Jonas Winkler
cc559c73c2 added a handy script to make a release package. 2020-11-14 12:58:11 +01:00
Jonas Winkler
12b70a13be getting paperless-ng ready for the first release. 2020-11-14 12:10:51 +01:00
Jonas Winkler
6120a316b4 updated some dependencies, updated docker files 2020-11-13 18:42:32 +01:00
Jonas Winkler
4c5400e28a a handy script that brings up postgres and redis 2020-11-11 20:25:33 +01:00
Jonas Winkler
d3e7c8ff4e added a task scheduler for recurring tasks 2020-11-09 20:29:10 +01:00
Jonas Winkler
e326bc4f51 updated dockerfiles 2020-11-01 23:01:36 +01:00
Jonas Winkler
46d1fdc108 fixed folders, compatible with previous paperless version 2020-10-29 14:30:15 +01:00
Jonas Winkler
7a620521bb i fixed the docker 2020-10-29 00:46:57 +01:00
Jonas Winkler
c1ab22fcb8 moved gunicorn config 2020-10-27 01:08:50 +01:00
lawtancool
07464654e1 change gunicorn workers to 3
Assuming a single core system,  (2 x $num_cores) + 1 = 3
(see https://docs.gunicorn.org/en/stable/design.html#how-many-workers)
2020-05-19 09:41:08 -07:00
lawtancool
ea41be154c Change gunicorn workers from 1 to 4
see https://docs.gunicorn.org/en/stable/design.html#how-many-workers
2020-05-03 20:16:55 -07:00
ahyear
a6d22f85ab Merge pull request #599 from ljm42/patch-1
Allow non-unique GIDs
2020-03-15 04:43:09 +01:00
JOKer
3ed2ad5fbc Merge pull request #581 from nxnjz/patch-1
added dependency on network.target so that paperless-webserver can cleanly shutdown before the network goes down (during reboots, etc.)

network-online.target is not required when accessing paperless on localhost, so having a dependency on it is not necessary.
2020-02-28 23:12:26 +01:00
nxnjz
f4eb106a1b Update paperless-webserver.service 2020-02-27 20:05:50 +02:00
ljm42
c04ab1f9d4 Allow non-unique GIDs
Need to allow non-unique group ids, so paperless can map to an existing GID.

The comment says the map_uidgid() function came from docker-gitlab, the same fix was applied there too:
  c80bd87662
2020-01-05 18:20:03 -08:00
nxnjz
7806e27380 added dependency on network.target 2019-11-19 22:16:53 +02:00
Fabian Winter
d786b3b7b6 Address comments 2019-11-03 20:14:17 +01:00
Fabian Winter
d740b6d5e7 Support SSL for web interface
Thanks to @MasterofJOKers, here is basic support for SSL:
You need to create your key and certificate and copy them to the `data`
directory, named `ssl.cert` and `ssl.key`.
Then, set `PAPERLESS_USE_SSL` in `docker-compose.env` to `true`.

Solves #576.
2019-11-03 18:30:43 +01:00
Florian Gabsteiger
1c3c65bf20 Enable user-controlled gunicorn options in docker-compose file 2019-09-22 11:47:22 +02:00
Florian Gabsteiger
c7e5bd96df Copy gunicorn.conf to docker container and use it in entrypoint 2019-09-22 11:47:22 +02:00
Florian Gabsteiger
89e298734e Add gunicorn option to docker-entrypoint script 2019-09-22 11:47:22 +02:00
schwabelbauch
074c8e59a0 Update docker-entrypoint.sh
fixed issue with installing tesseract languages
2019-03-27 22:22:20 +01:00
Daniel Quinn
143ad66706 Use [[]] instead of [] in Bash scripts 2018-12-30 17:32:17 +00:00
Joshua Taillon
bb4c941370 Update paperless-webserver.service
Update `gunicorn` command to use `--pythonpath`
2018-11-16 09:21:07 -05:00
Sharif Nassar
7831991ecd Remove Vagrant docs
* Vagrant does not seem to have any libvirt boxes for Ubuntu any more.
* Vagrant 2 was released a year ago, but vagrant-libvirt only claims
  to support up to Vagrant 1.8.
2018-10-13 11:31:53 -07:00
Daniel Quinn
24cd20dffc Merge @ovv's documentation changes and tweak the grammar a bit 2018-07-08 22:14:17 +01:00
Sven Fischer
1c0801a3ec fix bug where docker-entrypoint.sh exits w/o notice
This commit fixes a nasty bug, where the docker-entrypoint.sh silently
exits without any error message. The test for a lock file can fail and
due to the `set -e` at the beginning of the file the bash script exists
without starting the paperless application.
It is fixed by moving the check for the existence of the lock file into
the if statement, where the `set -e` does not trigger an exit in case
the statement fails.

Additionally this commit enables the script to trap exit signals and in
that case deletes the lock file.
2018-05-15 19:34:21 +02:00