Skip to content

ArmandoDo/elasticsearch-kibana

Repository files navigation

Elasticsearch and Kibana on a single node

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

Set up the .env file

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"

Deploy Elasticsearch

1. Build the Dockerize version of Elasticsearch

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.sh

2. Install Elasticsearch

Run the script to install the Docker image of Elasticsearch:

./install-elasticsearch.sh

3. Verify the status of the Elasticsearch container

Take a look at the logs of Elasticsearch service with:

docker logs elasticsearch

Deploy Kibana

1. Set up the Kibana system user

Set 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.sh

2. Build the Dockerize version of Kibana

Run 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.sh

3. Install Kibana

Run the script to install the Docker image of Kibana:

./install-kibana.sh

4. Verify the status of the Kibana container

Take a look at the logs of Kibana service with:

docker logs kibana

About

This repo contains the scripts to install the dockerize version of Elasticsearch and Kibana

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published