Add Tika full-text search
This commit is contained in:
parent
f395ea5f63
commit
ac4dd7266b
|
@ -16,6 +16,10 @@ services:
|
||||||
PROXY_HTTP_ADDR: 0.0.0.0:9200
|
PROXY_HTTP_ADDR: 0.0.0.0:9200
|
||||||
PROXY_TLS: false
|
PROXY_TLS: false
|
||||||
OCIS_URL: https://${PUBLIC_URL}
|
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 ]
|
networks: [ web ]
|
||||||
labels:
|
labels:
|
||||||
traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`)
|
traefik.http.routers.ocis.rule: Host(`${PUBLIC_URL}`)
|
||||||
|
@ -23,6 +27,13 @@ services:
|
||||||
traefik.http.routers.ocis.tls.certresolver: letsencrypt
|
traefik.http.routers.ocis.tls.certresolver: letsencrypt
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
|
|
||||||
|
search:
|
||||||
|
image: apache/tika:latest-full
|
||||||
|
networks: [ internal ]
|
||||||
|
restart: always
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
web:
|
web:
|
||||||
external: true
|
external: true
|
||||||
|
internal:
|
||||||
|
internal: true
|
||||||
|
|
Loading…
Reference in a new issue