This repo contains the scripts to build and install the dockerize version of Elasticsearch and Kibana on a single node.
Requirements:
- Ubuntu or MacOS
- Docker Compose V2
Copy the .env.tmpl file and modify your environment variables:
cp .env.tmpl .env# Passsword for the "elastic" user
export ELASTIC_PASSWORD="elastic_password"
# Password for the "kibana_system" user
export KIBANA_USER_PASSWORD="kibana_password"Run the script to build the Docker image of Elasticsearch:
Note: Once the image is built, there's no need to run the script again.
./build-elasticsearch.shRun the script to install the Docker image of Elasticsearch:
./install-elasticsearch.shTake a look at the logs of Elasticsearch service with:
docker logs elasticsearchSet up the password kibana_system user. Run the script to set up the password:
Note: Once the password is set up, there's no need to run the script again.
./set-up-kibana-user.shRun the script to build the Docker image of Kibana:
Note: Once the image is built, there's no need to run the script again.
./build-kibana.shRun the script to install the Docker image of Kibana:
./install-kibana.shTake a look at the logs of Kibana service with:
docker logs kibana