diff --git a/README.md b/README.md index 3ad98d4e..55780d5e 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Once installed you can browse through the interface at: https://127.0.0.1 ## Mount custom Wazuh configuration files -To mount custom Wazuh configuration files in the Wazuh manager container, mount them in the `/wazuh-config-mount` folder. For example, to mount a custom `ossec.conf` file, mount it in `/wazuh-config-mount/etc/ossec.conf` and the [run.sh](wazuh/config/run.sh) script will copy the file at the right place on boot while respecting the destination file permissions. +To mount custom Wazuh configuration files in the Wazuh manager container, mount them in the `/wazuh-config-mount` folder. For example, to mount a custom `ossec.conf` file, mount it in `/wazuh-config-mount/etc/ossec.conf` and the [entrypoint.sh](wazuh/config/entrypoint.sh) script will copy the file at the right place on boot while respecting the destination file permissions. Here is an example of a `/wazuh-config-mount` folder used to mount some common custom configuration files: ``` diff --git a/docker-compose.yml b/docker-compose.yml index bad7fa42..1601765f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,11 +14,11 @@ services: # - "1516:1516" networks: - docker_elk -# volumes: + volumes: # - my-path:/var/ossec/data:Z # - my-path:/etc/postfix:Z # - my-path:/etc/filebeat -# - my-custom-config-path/ossec.conf:/wazuh-config-mount/etc/ossec.conf + - /home/vagrant/customWazuhFiles/ossec.conf:/wazuh-config-mount/etc/ossec.conf depends_on: - logstash logstash: