mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-03 05:23:14 +00:00
Add build and deploy doc
This commit is contained in:
24
docs/ref/getting-started/deployment/wazuh-agent.md
Normal file
24
docs/ref/getting-started/deployment/wazuh-agent.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user