Skip to content

Commit 7db86bd

Browse files
🎉 Add Tika and Gotenberg (#254)
1 parent 8cc3886 commit 7db86bd

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

‎paperless-ngx/config.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ options:
4040
certfile: fullchain.pem
4141
keyfile: privkey.pem
4242
ingress_auth: false
43+
tika_gotenberg: false
4344
schema:
4445
url: str?
4546
csrf_allowed:
@@ -64,3 +65,4 @@ schema:
6465
usermap_uid: int?
6566
usermap_gid: int?
6667
ingress_auth: bool
68+
tika_gotenberg: bool

‎paperless-ngx/rootfs/etc/s6-overlay/s6-rc.d/paperless/run‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ PAPERLESS_USE_X_FORWARD_PORT=true
2727
PAPERLESS_CONSUMER_BARCODE_SCANNER=ZXING
2828
PAPERLESS_CONFIGURATION_PATH="/config/paperless.conf"
2929
PAPERLESS_HTTP_REMOTE_USER_HEADER_NAME="HTTP_X_REMOTE_USER_NAME"
30+
PAPERLESS_TIKA_ENDPOINT=http://ca5234a0-tika-gotenberg:9998
31+
PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://ca5234a0-tika-gotenberg:3000
32+
PAPERLESS_TIKA_ENABLED=$(bashio::config 'tika_gotenberg')
3033

3134
if bashio::config.has_value 'usermap_uid'; then
3235
USERMAP_UID=$(bashio::config 'usermap_uid')
@@ -76,6 +79,9 @@ export PAPERLESS_USE_X_FORWARD_PORT
7679
export PAPERLESS_CONSUMER_BARCODE_SCANNER
7780
export PAPERLESS_CONFIGURATION_PATH
7881
export PAPERLESS_HTTP_REMOTE_USER_HEADER_NAME
82+
export PAPERLESS_TIKA_ENDPOINT
83+
export PAPERLESS_TIKA_GOTENBERG_ENDPOINT
84+
export PAPERLESS_TIKA_ENABLED
7985

8086
if bashio::fs.file_exists '/config/paperless.conf'; then
8187
dotenv -f /config/paperless.conf -e true run /sbin/docker-entrypoint.sh "/usr/local/bin/paperless_cmd.sh"

‎paperless-ngx/translations/en.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,8 @@ configuration:
5858
ingress_auth:
5959
name: Enable Ingress authentication
6060
description: This allow a SSO, when logged in to home assistant, login and password will not be asked
61+
tika_gotenberg:
62+
name: Enable Tika Gotenberg
63+
description: You need to install the Tika Gotenberg addon
6164
network:
6265
80/tcp: Web interface (Not required for Ingress)

0 commit comments

Comments
 (0)