Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 859 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 859 Bytes

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 --wait -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