Installation
Using Docker Compose
You can get started by using the docker-compose here which starts both the server and its dependencies
docker-compose up -d
You will need to create the openg2p-network
docker network if it does not exist
Docker Image
You will need to have elasticsearch 7.6.1 up and running with the following plugins installed:
analysis-phonetic
analysis-icu
elasticsearch-plugin install https://zentity.io/releases/zentity-1.6.0-elasticsearch-7.6.1.zip
elasticsearch-plugin install analysis-phonetic
elasticsearch-plugin install analysis-icu
Pass SEARCHSERVICE_ELASTIC_ENDPOINT
as an env variable to your docker pointing to your elasticsearch
instance e.g. http://localhost:9200
docker run -p 9200:9200 openg2p/searchservice
Startup will fail if it cannot connect to Elasticsearch!
{: .warning}