From 2596be7d6e68b6840c239c34b08d26565ed6b111 Mon Sep 17 00:00:00 2001 From: <> Date: Tue, 14 Feb 2023 11:40:29 +0000 Subject: [PATCH] Deployed df41f579 with MkDocs version: 1.4.2 --- images/docker-fail2ban/index.html | 6 +++--- search/search_index.json | 2 +- sitemap.xml.gz | Bin 1567 -> 1567 bytes 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/images/docker-fail2ban/index.html b/images/docker-fail2ban/index.html index 636441e7cf..ba5937b4bd 100644 --- a/images/docker-fail2ban/index.html +++ b/images/docker-fail2ban/index.html @@ -11,7 +11,7 @@ environment: - PUID=1000 - PGID=1000 - - TZ=America/New_York + - TZ=Etc/UTC volumes: - /path/to/appdata/config:/config - /var/log:/var/log:ro @@ -40,7 +40,7 @@ --cap-add=NET_RAW \ -e PUID=1000 \ -e PGID=1000 \ - -e TZ=America/New_York \ + -e TZ=Etc/UTC \ -v /path/to/appdata/config:/config \ -v /var/log:/var/log:ro \ -v /path/to/airsonic/log:/remotelogs/airsonic:ro `#optional` \ @@ -62,7 +62,7 @@ -v /path/to/vaultwarden/log:/remotelogs/vaultwarden:ro `#optional` \ --restart unless-stopped \ lscr.io/linuxserver/fail2ban:latest -
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.
-p
)Parameter | Function |
---|---|
--net
)Parameter | Function |
---|---|
--net=host | Shares host networking with container. |
-e
)Env | Function |
---|---|
PUID=1000 | for UserID - see below for explanation |
PGID=1000 | for GroupID - see below for explanation |
TZ=America/New_York | Specify a timezone to use EG America/New_York |
-v
)Volume | Function |
---|---|
/config | Contains all relevant configuration files. |
/var/log:ro | Host logs. Mounted as Read Only. |
/remotelogs/airsonic:ro | Optional path to airsonic log folder. Mounted as Read Only. |
/remotelogs/apache2:ro | Optional path to apache2 log folder. Mounted as Read Only. |
/remotelogs/authelia:ro | Optional path to authelia log folder. Mounted as Read Only. |
/remotelogs/emby:ro | Optional path to emby log folder. Mounted as Read Only. |
/remotelogs/filebrowser:ro | Optional path to filebrowser log folder. Mounted as Read Only. |
/remotelogs/homeassistant:ro | Optional path to homeassistant log folder. Mounted as Read Only. |
/remotelogs/lighttpd:ro | Optional path to lighttpd log folder. Mounted as Read Only. |
/remotelogs/nextcloud:ro | Optional path to nextcloud log folder. Mounted as Read Only. |
/remotelogs/nginx:ro | Optional path to nginx log folder. Mounted as Read Only. |
/remotelogs/nzbget:ro | Optional path to nzbget log folder. Mounted as Read Only. |
/remotelogs/overseerr:ro | Optional path to overseerr log folder. Mounted as Read Only. |
/remotelogs/prowlarr:ro | Optional path to prowlarr log folder. Mounted as Read Only. |
/remotelogs/radarr:ro | Optional path to radarr log folder. Mounted as Read Only. |
/remotelogs/sabnzbd:ro | Optional path to sabnzbd log folder. Mounted as Read Only. |
/remotelogs/sonarr:ro | Optional path to sonarr log folder. Mounted as Read Only. |
/remotelogs/unificontroller:ro | Optional path to unificontroller log folder. Mounted as Read Only. |
/remotelogs/vaultwarden:ro | Optional path to vaultwarden log folder. Mounted as Read Only. |
Parameter | Function |
---|---|
{% hint style="warning" %} This image utilises cap_add
or sysctl
to work properly. This is not implemented properly in some versions of Portainer, thus this image may not work if deployed through Portainer.
You can set any environment variable from a file by using a special prepend FILE__
.
As an example:
-e FILE__PASSWORD=/run/secrets/mysecretpassword
+
Docker images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal>
respectively. For example, -p 8080:80
would expose port 80
from inside the container to be accessible from the host's IP on port 8080
outside the container.
-p
)Parameter | Function |
---|---|
--net
)Parameter | Function |
---|---|
--net=host | Shares host networking with container. |
-e
)Env | Function |
---|---|
PUID=1000 | for UserID - see below for explanation |
PGID=1000 | for GroupID - see below for explanation |
TZ=Etc/UTC | specify a timezone to use, see this list. |
-v
)Volume | Function |
---|---|
/config | Contains all relevant configuration files. |
/var/log:ro | Host logs. Mounted as Read Only. |
/remotelogs/airsonic:ro | Optional path to airsonic log folder. Mounted as Read Only. |
/remotelogs/apache2:ro | Optional path to apache2 log folder. Mounted as Read Only. |
/remotelogs/authelia:ro | Optional path to authelia log folder. Mounted as Read Only. |
/remotelogs/emby:ro | Optional path to emby log folder. Mounted as Read Only. |
/remotelogs/filebrowser:ro | Optional path to filebrowser log folder. Mounted as Read Only. |
/remotelogs/homeassistant:ro | Optional path to homeassistant log folder. Mounted as Read Only. |
/remotelogs/lighttpd:ro | Optional path to lighttpd log folder. Mounted as Read Only. |
/remotelogs/nextcloud:ro | Optional path to nextcloud log folder. Mounted as Read Only. |
/remotelogs/nginx:ro | Optional path to nginx log folder. Mounted as Read Only. |
/remotelogs/nzbget:ro | Optional path to nzbget log folder. Mounted as Read Only. |
/remotelogs/overseerr:ro | Optional path to overseerr log folder. Mounted as Read Only. |
/remotelogs/prowlarr:ro | Optional path to prowlarr log folder. Mounted as Read Only. |
/remotelogs/radarr:ro | Optional path to radarr log folder. Mounted as Read Only. |
/remotelogs/sabnzbd:ro | Optional path to sabnzbd log folder. Mounted as Read Only. |
/remotelogs/sonarr:ro | Optional path to sonarr log folder. Mounted as Read Only. |
/remotelogs/unificontroller:ro | Optional path to unificontroller log folder. Mounted as Read Only. |
/remotelogs/vaultwarden:ro | Optional path to vaultwarden log folder. Mounted as Read Only. |
Parameter | Function |
---|---|
{% hint style="warning" %} This image utilises cap_add
or sysctl
to work properly. This is not implemented properly in some versions of Portainer, thus this image may not work if deployed through Portainer.
You can set any environment variable from a file by using a special prepend FILE__
.
As an example:
-e FILE__PASSWORD=/run/secrets/mysecretpassword
Will set the environment variable PASSWORD
based on the contents of the /run/secrets/mysecretpassword
file.
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022
setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.
When using volumes (-v
flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID
and group PGID
.
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
In this instance PUID=1000
and PGID=1000
, to find yours use id user
as below:
$ id username
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
We publish various Docker Mods to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
docker exec -it fail2ban /bin/bash
docker logs -f fail2ban
docker inspect -f '{{ index .Config.Labels "build_version" }}' fail2ban
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/fail2ban:latest