Hello, you can consult the two links below to better understand how file persistence file config works using wazuh's docker.
Opening docker-compose inside multi-node:
You can use the same path to transfer your personal configuration to wazuh docker.
- ./config/wazuh_cluster/wazuh_manager.conf:/wazuh-config-mount/etc/ossec.conf
The RED part its or backup files that we want to map and transfer to wazuh docker image when we UP the image. You need to copy the config that you want that follow the image and will work fine.
The Green part its a folder inside the Wazuh-Manager-Master and Worker that is used to read the file located in
- ./config/wazuh_cluster and than copy to the directory (/var/ossec/etc/ossec.conf.
You can do this with any specific file that you want, you just need to target
./config/wazuh_cluster(inside wazuh-docker) and the file will copy to
/wazuh-config-mount and than copy to the original destination