Hi there,
Nextcloud has been installed on UCS 4.3 from the Univention App Center in a docker container. I would like to enable Elasticsearch and installed Elasticsearch successfully directly on the UCS server without any problems. I used the standard setup so that I can reach Elasticsearch via http://localhost:9200. However, when installing the Fulltextsearch - Elasticsearch App, there appears to be no connection to Elasticsearch outside the docker container.
When I enter the docker container via docker exec -it /bin/bash, I realize that Elasticsearch cannot be reached:
curl ‘http://localhost:9200’
curl: (7) Failed to connect to localhost port 9200: Connection refused
Howerver, when accessing the UCS server directly, I receive an answer from Elasticsearch.
Could anybody give me some hints as how to make ‘http://localhost:9200’ accessible from inside the docker container which is executed on localhost?
Best regards,
Peter