Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image "Environment variable ES_HOST is mandatory" #97

Open
huggla opened this issue Feb 8, 2023 · 3 comments
Open

Docker image "Environment variable ES_HOST is mandatory" #97

huggla opened this issue Feb 8, 2023 · 3 comments

Comments

@huggla
Copy link

huggla commented Feb 8, 2023

Starting the Docker image fails with "Environment variable ES_HOST is mandatory". This variable is not mentioned in the Docker image documentation:

This command will start a debian-based container, running a Tomcat web server, with a geonetwork war deployed on the server:
docker run --name some-geonetwork -d geonetwork
@huggla
Copy link
Author

huggla commented Feb 9, 2023

Setting ES_HOST to localhost seems to fix this. Am I correct?

I now get "No search service available currently!", so is an external Elasticsearch service always needed?

Would be great if you would update the Docker install documentation.

@ThomasJunk
Copy link

ThomasJunk commented Jun 6, 2023

@huggla

so is an external Elasticsearch service always needed?

It seems to be the case. The docs for the general installation say:

The GeoNetwork search engine is built on top of Elasticsearch. The platform is used to index record and also to analyze WFS data (See Analyze and visualize data), an Elasticsearch https://www.elastic.co/products/elasticsearch instance must be installed next to the catalog

An according docker-compose is here

@jodygarnett
Copy link

jodygarnett commented Dec 6, 2023

So what is the action here? Can we make a change to the docs?

https://github.com/docker-library/docs/tree/master/geonetwork

Not sure of the policy for updating this, perhaps via pull-request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants