Open barto95100 opened 1 year ago
@barto95100 As far as I can understand. You have to list the plugin name in the docker compose file. Then mount a custom alertad.conf to /etc/alertad.conf inside the container and put your plugin configurations there. Format is simple KEY='value'. This same applies to every configuration option that is not listed in docs.alerta.io which lists the supported environment variables.
To install the Fail2ban webhook check these instructions: https://github.com/alerta/docker-alerta/tree/master/examples/webhook
On restart, Alerta will automatically detect this webhook and you can then configure your Fail2ban instances to send to Alerta.
Edit: Or to build the image as a part of the compose check this: https://docs.alerta.io/gettingstarted/tutorial-10-docker.html#step-4-install-additional-plugins-or-webhooks
Thank's for your reply I test and send feedback :)
Hi thank's for your work
How i configure the alerta/Fail2ban when Alerta is installed in docker-compose ?
I don't understand...
Thank's for your help