mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 09:53:13 +08:00
feat!: split TIKA_IMAGE into image, tag and variant variables
Tika was the only image that took name and tag in one variable. Use TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG like the other images, so the tag can be pinned and bumped the same way. TIKA_DOCKER_VARIANT=full selects the full image without naming a tag, so choosing the variant no longer means choosing a version. BREAKING CHANGE: TIKA_IMAGE is no longer read, compose aborts with a message while it is still set. Replace TIKA_IMAGE=apache/tika:latest-full with TIKA_DOCKER_VARIANT=full, or set TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG for any other image.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
---
|
||||
x-removed-variables:
|
||||
TIKA_IMAGE: "${TIKA_IMAGE:+${TIKA_IMAGE_REMOVED:?TIKA_IMAGE (image:tag) is now TIKA_DOCKER_IMAGE and TIKA_DOCKER_TAG}}"
|
||||
services:
|
||||
tika:
|
||||
image: ${TIKA_IMAGE:-apache/tika:latest}
|
||||
image: ${TIKA_DOCKER_IMAGE:-apache/tika}:${TIKA_DOCKER_TAG:-latest}${TIKA_DOCKER_VARIANT:+-}${TIKA_DOCKER_VARIANT:-}
|
||||
# Using the base variant for smaller image size and faster startup
|
||||
# The base variant includes core functionality for text extraction
|
||||
# Full variant is only needed for specialized OCR/image processing
|
||||
|
||||
Reference in New Issue
Block a user