Add build and deploy doc

This commit is contained in:
vcerenu
2025-05-14 14:04:44 -03:00
parent ce480d5c75
commit 3a69f6aabc
9 changed files with 123 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
# Wazuh Docker deployment
## Deploy Wazuh agent
1) Enter the `wazuh-agent` directory of the repository.
```
$ cd wazuh-agent
```
2) Edit the `docker-compose.yml` file, changing the current value of the `WAZUH_MANAGER_SERVER` variable to the IP or URL of the Wazuh manager:
```
environment:
- WAZUH_MANAGER_SERVER=<WAZUH_MANAGER_IP>
```
3) Start the environment with docker-compose:
- In the foregroud:
```
$ docker-compose up
```
- In the background:
```
$ docker-compose up -d
```