Based on your current configuration, the following paths should not be mounted as RW:
/var/ossec/etc
/var/ossec (entire directory)
These paths should remain read-only, using the files included in the container image. Mounting volumes over them will hide the original files and may cause unexpected behavior.
What SHOULD be mounted as RW:
Only runtime data paths where Wazuh needs write access should be mounted:
/var/ossec/logs
/var/ossec/queue
/var/ossec/var
/var/ossec/tmp
/var/ossec/stats (if applicable)