mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-06-08 12:10:05 +08:00
Merge pull request #158 from opencloud-eu/fix-tika-image
fix: tika image name
This commit is contained in:
@@ -175,8 +175,8 @@ START_ADDITIONAL_SERVICES=""
|
||||
# search/tika.yml or by using the following command:
|
||||
# docker compose -f docker-compose.yml -f search/tika.yml up -d
|
||||
# Set the desired docker image tag or digest.
|
||||
# Defaults to "apache/tika:slim"
|
||||
# The slim variant is recommended for most use cases as it provides core text extraction
|
||||
# Defaults to "apache/tika:latest"
|
||||
# The base variant is recommended for most use cases as it provides core text extraction
|
||||
# functionality with a smaller image size and faster startup time.
|
||||
# Only use the full variant (apache/tika:latest-full) if you need specialized features
|
||||
# like advanced OCR or specific image processing capabilities.
|
||||
|
||||
@@ -149,12 +149,12 @@ This setup includes:
|
||||
- Support for documents, PDFs, images, and other file types
|
||||
|
||||
**Tika Image Variant:**
|
||||
By default, OpenCloud Compose uses `apache/tika:slim` which provides:
|
||||
By default, OpenCloud Compose uses `apache/tika:latest` which provides:
|
||||
- Smaller image size (~300MB vs ~1.2GB for the full variant)
|
||||
- Faster container startup and deployment
|
||||
- Core text extraction functionality for common document formats (PDF, Office docs, text files, etc.)
|
||||
|
||||
The slim variant is recommended for most use cases. If you need advanced features like specialized OCR processing or specific image format support, you can override the image by setting `TIKA_IMAGE=apache/tika:latest-full` in your `.env` file.
|
||||
The base variant is recommended for most use cases. If you need advanced features like specialized OCR processing or specific image format support, you can override the image by setting `TIKA_IMAGE=apache/tika:latest-full` in your `.env` file.
|
||||
|
||||
### With Radicale
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
---
|
||||
services:
|
||||
tika:
|
||||
image: ${TIKA_IMAGE:-apache/tika:slim}
|
||||
# Using slim variant for smaller image size and faster startup
|
||||
# The slim variant includes core functionality for text extraction
|
||||
image: ${TIKA_IMAGE:-apache/tika:latest}
|
||||
# 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
|
||||
# release notes: https://tika.apache.org
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user