Files
wazuh-docker-orginal/single-node
2022-03-31 13:59:49 -03:00
..
2022-03-31 13:21:01 -03:00
2022-03-31 13:59:49 -03:00

Deploy Wazuh Docker in single node configuration

This deployment generates a Docker Compose stack with 1 Wazuh Manager container, 1 Wazuh Indexer container and 1 Wazuh Dashboard container.

In case of upgrading from 4.2, the deployment hosted in the multi-node directory should be reviewed

For the next deployment, the following steps must be performed:

  1. Increase max_map_count on your host (Linux)
$ sysctl -w vm.max_map_count=262144
This command must be run with root permissions
  1. Run the certificate creation script:
$ docker-compose -f generate-indexer-certs.yml run --rm generator
  1. Start the stack with docker-compose:

    In Foregroud:

$ docker-compose up
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.