Skip to content

Commit

Permalink
Tika extractor setup for full text search
Browse files Browse the repository at this point in the history
  • Loading branch information
grgprarup committed Jun 15, 2023
1 parent b1bd60d commit 391f918
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
#FRONTEND
FRONTEND_SEARCH_MIN_LENGTH: "2"
FRONTEND_OCS_ENABLE_DENIALS: "true"
FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true"

# IDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-true}"
Expand Down Expand Up @@ -53,6 +54,10 @@ services:
# PROXY
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-true}"
PROXY_TLS: "false"

# TIKA
SEARCH_EXTRACTOR_TYPE: "tika"
SEARCH_EXTRACTOR_TIKA_TIKA_URL: "http://host.docker.internal:9998"
volumes:
- ./dev/docker/ocis.entrypoint.sh:/usr/bin/entrypoint
- ./dev/docker/ocis.idp.config.yaml:/etc/ocis/idp.yaml
Expand All @@ -68,6 +73,7 @@ services:
traefik.http.routers.ocis.entrypoints: websecure
depends_on:
- traefik
- tika-service

oc10:
build:
Expand Down Expand Up @@ -223,6 +229,19 @@ services:
- "./dev/docker/traefik/configs:/configs"
- "/var/run/docker.sock:/var/run/docker.sock:ro"

tika-service:
image: dadarek/wait-for-dependencies
container_name: web_tika_service
depends_on:
- tika
command: tika:9998

tika:
image: ${TIKA_IMAGE:-apache/tika:latest}
container_name: web_tika
ports:
- 9998:9998
restart: always
volumes:
uploads:
uppy_companion_datadir:
Expand Down

0 comments on commit 391f918

Please sign in to comment.