This is an example show how an elasticsearch hot-warm architecture is configured using docker and dockercompose
- Note: This example is only tested on a linux environment so it may fail on other environments
- Combine with ILM for data rollover
- Update
vm.max_map_count
field if you haven't done it before
sudo sysctl -w vm.max_map_count=262144
- Create a network named
es-hot-warm-cluster
docker network create es-hot-warm-cluster
- Build & run
docker-compose up -d --build
- Shut down
docker-compose down