Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Running your own Elastic Stack with Docker

If you'd like to start Elastic locally, you can use the provided docker-compose-elastic.yml file. This starts Elasticsearch, Kibana, and APM Server and only requires Docker installed.

Note: If you haven't checked out this repository, all you need is one file:

wget https://raw.githubusercontent.com/elastic/elasticsearch-labs/refs/heads/main/docker/docker-compose-elastic.yml

Use docker compose to run Elastic stack in the background:

docker compose -f docker-compose-elastic.yml up --force-recreate -d

Then, you can view Kibana at http://localhost:5601/app/home#/

If asked for a username and password, use username: elastic and password: elastic.

Clean up when finished, like this:

docker compose -f docker-compose-elastic.yml down