owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.36k stars 180 forks source link

Search Service - wopi - docker compose - TIKA URL #5481

Closed mmattel closed 1 year ago

mmattel commented 1 year ago

When reading the docker compose file for wopi, there is the line:

SEARCH_EXTRACTOR_TIKA_TIKA_URL: http://tika:9998

We also state, that we need for the Server Deployment some domains set up and pointing to the server:

ocis.*       for serving oCIS
collabora.*  for serving Collabora
onlyoffice.* for serving OnlyOffice
wopiserver.* for serving the WOPI server
traefik.*    for serving the Traefik dashboard

Question: How does the system know to resolve http://tika ? Has this been forgotten to be added or is there another way or location it is defined?

@wkloucek @fschade

wkloucek commented 1 year ago

That is the DNS name of the "tika" service in the docker internal network.

See also https://docs.docker.com/compose/compose-file/compose-file-v3/#links

Containers for the linked service are reachable at a hostname identical to the alias, or the service name if no alias was specified.
mmattel commented 1 year ago

I added a comment in the upcoming readme of the search service, see: #5503 ([docs-only] search service readme) Closing