https://github.com/jeonghanlee/elasticsearch
EPICS Middleware Index Mappings Elasticsearch (Alpine 3.12 / ES 6.4.3)
https://github.com/jeonghanlee/elasticsearch
channelfinder docker elasticsearch epics
Last synced: 26 days ago
JSON representation
EPICS Middleware Index Mappings Elasticsearch (Alpine 3.12 / ES 6.4.3)
- Host: GitHub
- URL: https://github.com/jeonghanlee/elasticsearch
- Owner: jeonghanlee
- License: gpl-2.0
- Created: 2020-07-05T23:43:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-25T03:09:04.000Z (almost 5 years ago)
- Last Synced: 2025-03-15T02:42:03.318Z (about 1 year ago)
- Topics: channelfinder, docker, elasticsearch, epics
- Language: Shell
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EPICS Middleware Index Mappings Elasticsearch (Alpine 3.12 / ES 6.4.3)

## Notice
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
* Build the docker image
```bash
make build
```
* Start the built docker image
```bash
$ make es.start
docker run -d --rm -p 9200:9200 --name=es4epics jeonghanlee/es4epics
```
If 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`.
```bash
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"}
```
```bash
make es.release.dryrun
```
```bash
make es.release
```
* Check the elasticseach server logs
```bash
make es.status
```
* Stop the running container
```bash
make es.stop
```
* Check the relased image
```bash
make docker.images
```
## `docker/config`
That folder contains the elasticsearch configuration files.