Open laukaichung opened 6 years ago
@laukaichung I think you are mistaken. As you can see here : https://github.com/ossec/ossec-docker/blob/master/Dockerfile, ossec.conf is copied to /var/ossec/etc/ not /var/ossec/data/etc/. Also my best advice would be that you create a custom Docker image based on that one and that you put your custom config.
I tried to use a docker-compose file to install ossec-docker, but I ran into a problem of replacing the original ossec.conf with my own one:
It seems that the ossec-server.sh doesn't install anything in
/var/ossec/data/etc
when the custom conf already sits in/var/ossec/data/etc
. Is there a way to use a custom ossec.conf?Here's the log: