mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
Rename
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@ language: shell
|
|||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- letsencrypt-f2bdiscord #replace variables, omit brackets
|
- swag-f2bdiscord #replace variables, omit brackets
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- DOCKERHUB="linuxserver/mods" #don't modify
|
- DOCKERHUB="linuxserver/mods" #don't modify
|
||||||
- BASEIMAGE="letsencrypt" #replace
|
- BASEIMAGE="swag" #replace
|
||||||
- MODNAME="f2bdiscord" #replace
|
- MODNAME="f2bdiscord" #replace
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -32,4 +32,4 @@ jobs:
|
|||||||
- echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
- echo $DOCKERPASS | docker login -u $DOCKERUSER --password-stdin
|
||||||
# Push all of the tags
|
# Push all of the tags
|
||||||
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT}
|
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}-${TRAVIS_COMMIT}
|
||||||
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
|
- docker push ${DOCKERHUB}:${BASEIMAGE}-${MODNAME}
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
# F2B Discord Notification - Docker mod which allows Fail2Ban Discord embeds
|
# 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
|
## Configuration
|
||||||
|
|
||||||
### Enable
|
### 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
|
### Mod configuration
|
||||||
|
|
||||||
**Environment variables used by this mod:**
|
**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`
|
[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`
|
[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`
|
[Map API Key](https://developer.mapquest.com/), get a key from mapquest. `-e DISC_API=YourKey`
|
||||||
|
|
||||||
#### Jail configuration example
|
#### Jail configuration example
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if [ ! -d /usr/lib/python3.8/site-packages/geoip2 ]; then
|
if [ ! -d /usr/lib/python3.8/site-packages/geoip2 ]; then
|
||||||
echo '------------------------------------------------------------------------'
|
echo '------------------------------------------------------------------------'
|
||||||
echo '| Running installation of required modules for letsencrypt-f2bdiscord'
|
echo '| Running installation of required modules for swag-f2bdiscord'
|
||||||
echo '------------------------------------------------------------------------'
|
echo '------------------------------------------------------------------------'
|
||||||
pip3 install --no-cache-dir -U \
|
pip3 install --no-cache-dir -U \
|
||||||
requests \
|
requests \
|
||||||
|
|||||||
Reference in New Issue
Block a user