Open adidgit opened 2 years ago
Hey, just saw this cause I'm trying to set up crowdsec as well. In my container for npm
, my logs aren't in that directory... they are in /var/log
and then there are some dirs. Next level down, nginx
just has error.log
and in /var/log
there is a folder with apt
with a term.log
file. I wonder why your log directory tree would be different.
I'm an idiot. I used a docker image from a different creator.
As to your question, how about permissions in the new mount? What PID is in charge of the container?
your crowdsec container is mounting a volume instead of the same bind directory as your npm container.
Also think this can be closed as its not really relevant to this project.
Hi,
I am trying to integrate nginx-proxy-manager with crowdsec. For the time being I am only interested in croudsec parcing my logs (won't use a bouncher yet)
My docker compose for nginx-proxy-manager
My docker compose for crowdsec
When I check if the volume is mounted in crowdsec container all is fine
But when aquis.yaml is loaded it complains that can't find logs matching the pattern /srv/DockerAppData/nginx-proxy-manager/log/*.log
Checking further I see that the voulme is mounted in crowdsec container but is empty
Any idea what can be wrong here?