We can then remove X-Pack and control ElasticSearch's memory usage. This also gives us the opportunity to let Kibana do its optimization when we build the image, rather than every time the container is recreated.
7 lines
237 B
Bash
Executable File
7 lines
237 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
docker build -t armadillica/elasticsearch:latest -f Dockerfile-elastic .
|
|
docker build -t armadillica/kibana:latest -f Dockerfile-kibana .
|
|
|
|
echo "Done, built armadillica/elasticsearch:latest and armadillica/kibana:latest"
|