mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 05:42:54 -04:00
ec1685b10312e05054f5b13d4cc325cc05110278
swag-f2bdiscord update/add workflows
F2B Discord Notification - Docker mod which allows Fail2Ban Discord embeds
This mod enhances the swag container adding better Fail2Ban notifications for discord.
Configuration
Enable
In swag docker arguments, set an environment variable DOCKER_MODS=linuxserver/mods:swag-f2bdiscord to enable.
Mod configuration
Environment variables used by this mod:
Discord webhook, it just need the last parts. -e DISC_HOOK=40832456738934/7DcEpWr5V24OIEIELjg-KkHky86SrOgTqA
Your discord ID. -e DISC_ME=120970603556503552
Map API Key, get a key from mapquest. -e DISC_API=YourKey
Jail configuration example
[bitwarden]
filter = bitwarden
enabled = true
logpath = /fail2ban/bw/bitwarden.log
action = discordEmbed[bantime=24]
iptables-allports[name=Bitwarden]
Action arguments:
bantime(hour) is optional, but defaults to 24 when not set. Just reflects in the message, does not change the ban time
Example
Languages
Text
100%
