Files
opencloud/devtools/deployments/opencloud_full/tika.yml
T
Dominik Schmidt 299586bf7d ci: activate Tika's thumbnail preset wherever Tika runs
PUT /unpack/preset/thumbnail answers 404 unless the thumbnail catalog preset is
active, and the thumbnailer then finds no thumbnail for any document.
TIKA_PRESETS=thumbnail activates it and needs Tika 4.2.0, so the acceptance
stack and the example deployment follow the snapshot image until the release is
out. The deployment also reads the shared OC_TIKA_URL so the thumbnailer uses
the Tika that is already there.
2026-11-27 16:38:01 +01:00

21 lines
529 B
YAML

---
services:
tika:
image: ${TIKA_IMAGE:-apache/tika:4.2.0-SNAPSHOT-full}
# release notes: https://tika.apache.org
environment:
# the thumbnail preset ships inert, this activates it, Tika 4.2.0 or newer
TIKA_PRESETS: thumbnail
networks:
opencloud-net:
restart: always
logging:
driver: ${LOG_DRIVER:-local}
opencloud:
environment:
# fulltext search
SEARCH_EXTRACTOR_TYPE: tika
OC_TIKA_URL: http://tika:9998
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"