From 9f2b113104fc1a6cf2bcf5436248045318fadc2c 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 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cd428b7..ef6f9be 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,13 +16,27 @@ services: PROXY_HTTP_ADDR: 0.0.0.0:9200 PROXY_TLS: false OCIS_URL: https://${PUBLIC_URL} - networks: [ web ] + # fulltext search + SEARCH_EXTRACTOR_TYPE: tika + SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://search-engine:9998 + FRONTEND_FULL_TEXT_SEARCH_ENABLED: "true" + networks: + - web + - internal labels: traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`) traefik.http.routers.ocis.tls: true traefik.http.routers.ocis.tls.certresolver: letsencrypt traefik.enable: true + depends_on: [ search-engine ] + + search-engine: + image: apache/tika:latest-full + networks: [ internal ] + restart: always networks: web: external: true + internal: + internal: true