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.
* 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>
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
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.