You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Setting up basic Elastic DB and Kibana with Docker
2
2
3
+
This guide will walk you through the steps to set up Elastic DB and Kibana using Docker Desktop. This is a basic setup with no security or password configuration.
4
+
`If for security, you can check [elastic_secure](./../elastic_secure/readme.md)
5
+
6
+
## Prerequisites
7
+
8
+
Before you begin, ensure you have Docker Desktop installed on your system. If not, follow the steps below to install Docker Desktop:
9
+
10
+
1.**Install Docker Desktop:**
11
+
- Go to the Docker website: [https://www.docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop)
12
+
- Download Docker Desktop for your operating system (Windows/Mac).
13
+
- Follow the installation instructions provided for your platform.
14
+
15
+
## Setup Elastic DB and Kibana
16
+
17
+
Follow these steps to set up Elastic DB and Kibana using Docker Desktop:
18
+
19
+
1.**Create .env file, and put env variables like in example.env file:**
20
+
21
+
```env
22
+
ELASTIC_VERSION=8.8.0
23
+
ELASTIC_PORT=9200
24
+
KIBANA_PORT=5600
25
+
26
+
```
27
+
28
+
2.**Run Docker Compose:**
29
+
30
+
```bash
31
+
docker-compose up -d
32
+
```
33
+
34
+
This command will start Elastic DB and Kibana containers in the background.
35
+
36
+
3.**Access Elastic Kibana:**
37
+
- Open your web browser and go to [http://localhost:5601](http://localhost:5601).
38
+
- You should see the Kibana login page.
39
+
40
+
## Notes
41
+
42
+
- By default, this setup does not include any security or password protection. It's recommended to configure security settings according to your requirements before deploying to production.
43
+
- Ensure that Docker Desktop is running before executing Docker Compose commands.
0 commit comments