This image only have been tested with a local and personal environment, not with any production environment. Thus, please don't use this image for any deployment or production purpose.
- Build the docker image
make build- Start the built docker image
$ make es.start
docker run -d --rm -p 9200:9200 --name=es4epics jeonghanlee/es4epicsIf there is the same name container running, please stop it via docker stop es4epics or make es.make stop.
- Mapping the ChannelFinder index mapping
Before doing this, it would be wise to check the elasticsearch service is running first via make es.status.
make es.mappings
>>> index/mapping : cf_tags ....
{"acknowledged":true,"shards_acknowledged":true,"index":"cf_tags"}
>>> index/mapping : cf_properties ....
{"acknowledged":true,"shards_acknowledged":true,"index":"cf_properties"}
>>> index/mapping : channelfinder ....
{"acknowledged":true,"shards_acknowledged":true,"index":"channelfinder"}make es.release.dryrunmake es.release- Check the elasticseach server logs
make es.status- Stop the running container
make es.stop- Check the relased image
make docker.imagesThat folder contains the elasticsearch configuration files.