From 5076bcc94933af8079d4556b593ab60c95217d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Rodr=C3=ADguez?= Date: Fri, 1 Apr 2022 11:56:57 +0200 Subject: [PATCH] Update README.md --- single-node/README.md | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/single-node/README.md b/single-node/README.md index a89039e9..efd303c7 100644 --- a/single-node/README.md +++ b/single-node/README.md @@ -1,33 +1,24 @@ # 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. +This deployment is defined in the `docker-compose.yml` file with one Wazuh manager containers, one Wazuh indexer containers, and one Wazuh dashboard container. It can be deployed by following these steps: -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) +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 the foregroud: ``` $ docker-compose up ``` - - In Background: +- In the 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. \ No newline at end of file +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.