Closed samcro1967 closed 1 year ago
I have the exact same issue. Was following this guide: prog.world/securing-docker-compose-stacks-with-crowdsec (but with the latest version of crowdsec) but ended up with the error.
This seems to happen to me when I use bind mounts instead of volumes for /etc/crowdsec. Without a bind mount I see no possibility of enabling the email plugin.
Closing issue, please open an issue on main CrowdSec repository if the issues raised here are still apparent in latest version.
The container starts up and creates the config.yaml and online_api_credentials.yaml files and then exits with fatal errors. The config file it creates seems to be incomplete. If I create config.yaml from the GitHub example, it then errors out with other missing files and folders. The container is not creating all of the required files and folders it needs on first start to run properly.
config.yaml
Docker-compose
Container logs