mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-02 21:13:14 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
6cde5f5c60
commit
42df77d89c
@@ -1,31 +1,26 @@
|
||||
# Deploy Wazuh Docker in multi node configuration
|
||||
|
||||
This deployment generates a Docker Compose stack with 2 Wazuh Manager container, 3 Wazuh Indexer container and 1 Wazuh Dashboard container.
|
||||
This deployment is defined in the `docker-compose.yml` file with two Wazuh manager containers, three Wazuh indexer containers, and one Wazuh dashboard container. It can be deployed by following these steps:
|
||||
|
||||
For the next deployment, the following steps must be performed:
|
||||
|
||||
1) Increase max_map_count on your host (Linux)
|
||||
1) Increase max_map_count on your host (Linux). This command must be run with root permissions:
|
||||
```
|
||||
$ sysctl -w vm.max_map_count=262144
|
||||
```
|
||||
This command must be run with root permissions
|
||||
|
||||
|
||||
2) Run the certificate creation script:
|
||||
```
|
||||
$ docker-compose -f generate-indexer-certs.yml run --rm generator
|
||||
```
|
||||
3) Start the stack with docker-compose:
|
||||
3) Start the environment with docker-compose:
|
||||
|
||||
In Foregroud:
|
||||
- In Foregroud:
|
||||
```
|
||||
$ docker-compose up
|
||||
```
|
||||
|
||||
In Background:
|
||||
- In Background:
|
||||
```
|
||||
$ docker-compose up -d
|
||||
```
|
||||
|
||||
|
||||
The stack takes about 1 minute to get up for the first time, since Wazuh Indexer must be started for the first time and the Indexes and Index Patterns must be generated.
|
||||
The environment takes about 1 minute to get up (depending on your Docker host) for the first time since Wazuh Indexer must be started for the first time and the Indexes and Index Patterns must be generated.
|
||||
|
||||
Reference in New Issue
Block a user