charts icon indicating copy to clipboard operation
charts copied to clipboard

Tika and Gotenberg for Paperless

Open jabdoa2 opened this issue 2 years ago • 1 comments

Chart Name

paperless-ngx

Is your feature request related to a problem? Please describe.

To import mails into paperless ngx we need Tika and Gotenberg. Unfortunately, they are not included in the chart as of now.

Describe the solution you'd like

Add tika and gotenberg as (optional) dependencies to paperless-ngx:

Gotenberg recomends the community chart from maikumori/gotenberg which works with this config (in values.yaml of paperless-ngx):

gotenberg:
  chromium:
    allowList: "file:///tmp/.*"
    disableJavaScript: true

Tika has an official chart from apache. It works out of the box. We might want to overwrite the image with the one from paperless-ngx (only needed for arm and some other architecture which is not supported by tika upstream).

Additionally, we would have to set the following env values:

env:
  PAPERLESS_TIKA_ENABLED: "true"
  PAPERLESS_TIKA_ENDPOINT: "http://tika:9998"
  PAPERLESS_TIKA_GOTENBERG_ENDPOINT: "http://gotenberg:80"

Describe alternatives you've considered

Alternatives:

  • We could also package gotenberg and tika ourself
  • We could document the stuff above and require users to install it on their own

Additional context

No response

jabdoa2 avatar Oct 19 '23 22:10 jabdoa2

Sorry for the late response! I'll look into these and add them as soon as I can 🙂

gabe565 avatar Nov 28 '23 22:11 gabe565