This commit is contained in:
Eric Nemchik
2020-08-17 15:56:06 -05:00
parent a41e7aecdc
commit 7f7e8da767
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -1,19 +1,19 @@
# F2B Discord Notification - Docker mod which allows Fail2Ban Discord embeds
This mod enhances the Letsencrypt container adding better Fail2Ban notifications for discord.
This mod enhances the swag container adding better Fail2Ban notifications for discord.
## Configuration
### Enable
In letsencrypt docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:letsencrypt-f2bdiscord` to 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](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks), it just need the last parts. `-e DISC_HOOK=40832456738934/7DcEpWr5V24OIEIELjg-KkHky86SrOgTqA`
[Your discord ID](https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-). `-e DISC_ME=120970603556503552`
[Discord webhook](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks), it just need the last parts. `-e DISC_HOOK=40832456738934/7DcEpWr5V24OIEIELjg-KkHky86SrOgTqA`
[Your discord ID](https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-). `-e DISC_ME=120970603556503552`
[Map API Key](https://developer.mapquest.com/), get a key from mapquest. `-e DISC_API=YourKey`
#### Jail configuration example