From ac4dd7266be9df3190666358f6ba842cec7d4290 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sat, 16 Sep 2023 09:06:35 -0400 Subject: [PATCH] Add Tika full-text search --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index cd428b7..af50da0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,10 @@ services: PROXY_HTTP_ADDR: 0.0.0.0:9200 PROXY_TLS: false OCIS_URL: https://${PUBLIC_URL} + # fulltext search + SEARCH_EXTRACTOR_TYPE: search + SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://search:9998 + FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true" networks: [ web ] labels: traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`) @@ -23,6 +27,13 @@ services: traefik.http.routers.ocis.tls.certresolver: letsencrypt traefik.enable: true + search: + image: apache/tika:latest-full + networks: [ internal ] + restart: always + networks: web: external: true + internal: + internal: true