diff --git a/.woodpecker.star b/.woodpecker.star index 68cbb10ff9..f46fbfc0a0 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -3385,6 +3385,10 @@ def tikaService(): # tika 4 discovers its plugins relative to the image working directory, # the workspace default would leave the pipes fetchers empty "directory": "/opt/tika-server", + "environment": { + # the thumbnail preset ships inert, this activates it + "TIKA_PRESETS": "thumbnail", + }, "detach": True, }, { "name": "wait-for-tika-service", diff --git a/devtools/deployments/opencloud_full/tika.yml b/devtools/deployments/opencloud_full/tika.yml index 081f2876b5..ca796a02b6 100644 --- a/devtools/deployments/opencloud_full/tika.yml +++ b/devtools/deployments/opencloud_full/tika.yml @@ -1,8 +1,11 @@ --- services: tika: - image: ${TIKA_IMAGE:-apache/tika:latest-full} + 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 @@ -13,5 +16,5 @@ services: environment: # fulltext search SEARCH_EXTRACTOR_TYPE: tika - SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998 + OC_TIKA_URL: http://tika:9998 FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true" diff --git a/tests/acceptance/docker/src/tika.yml b/tests/acceptance/docker/src/tika.yml index 36bc0a905e..f46d0f6e13 100644 --- a/tests/acceptance/docker/src/tika.yml +++ b/tests/acceptance/docker/src/tika.yml @@ -5,4 +5,6 @@ services: - tika command: tika:9998 tika: - image: apache/tika:4.1.0-full + image: apache/tika:4.2.0-SNAPSHOT-full + environment: + TIKA_PRESETS: thumbnail