feat(paperless): add Tika and Gotenberg sidecars

Enable Paperless Office/OpenDocument ingestion by wiring internal Tika and Gotenberg services into the documents stack. Adds PAPERLESS_TIKA_* environment keys to .env.example and places both sidecars on an internal-only network with resource limits.
This commit is contained in:
Fizzlepoof
2026-05-13 17:06:47 +00:00
parent 7fe24d1956
commit 5ed02928ec
2 changed files with 28 additions and 0 deletions

View File

@@ -24,6 +24,12 @@ services:
PAPERLESS_TIME_ZONE: America/Chicago
PAPERLESS_OCR_LANGUAGE: eng
PAPERLESS_URL: https://paperless.paccoco.com
PAPERLESS_TIKA_ENABLED: ${PAPERLESS_TIKA_ENABLED}
PAPERLESS_TIKA_ENDPOINT: ${PAPERLESS_TIKA_ENDPOINT}
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: ${PAPERLESS_TIKA_GOTENBERG_ENDPOINT}
depends_on:
- tika
- gotenberg
healthcheck:
test: ["CMD-SHELL", "curl -sf http://127.0.0.1:8000/ || exit 1"]
interval: 30s
@@ -31,9 +37,26 @@ services:
retries: 3
start_period: 60s
networks:
- paperless-internal
- ix-databases_shared-databases
- pangolin
tika:
image: apache/tika:latest
container_name: paperless-tika
restart: unless-stopped
mem_limit: 512m
networks:
- paperless-internal
gotenberg:
image: gotenberg/gotenberg:latest
container_name: paperless-gotenberg
restart: unless-stopped
mem_limit: 256m
networks:
- paperless-internal
karakeep:
image: ghcr.io/karakeep-app/karakeep:${KARAKEEP_VERSION:-release}
container_name: karakeep
@@ -95,6 +118,8 @@ services:
- karakeep
networks:
paperless-internal:
name: documents_paperless_internal
ix-databases_shared-databases:
external: true
pangolin: