mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-02 13:03:20 +00:00
Add persistence in single node
This commit is contained in:
@@ -10,7 +10,8 @@ For the next deployment, the following steps must be performed:
|
||||
```
|
||||
$ sysctl -w vm.max_map_count=262144
|
||||
```
|
||||
This command must be run with root permissions
|
||||
This command must be run with root permissions
|
||||
|
||||
|
||||
2) Run the certificate creation script:
|
||||
```
|
||||
@@ -18,14 +19,15 @@ $ docker-compose -f generate-indexer-certs.yml run --rm generator
|
||||
```
|
||||
3) Start the stack with docker-compose:
|
||||
|
||||
In Foregroud:
|
||||
In Foregroud:
|
||||
```
|
||||
$ docker-compose up
|
||||
```
|
||||
|
||||
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.
|
||||
Reference in New Issue
Block a user