mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Rename
This commit is contained in:
+2
-2
@@ -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:
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
# 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
|
||||||
|
|
||||||
|
|||||||
@@ -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