Small cleaning

master
Meliurwen 4 years ago
parent 9083a5c648
commit 558f3f3b46
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 10
      .env.example
  2. 4
      docker-compose.yml

@ -5,10 +5,6 @@ TZ=Europe/Berlin
# Global Settings (optional) # Global Settings (optional)
SRV_RESTART= SRV_RESTART=
# fail2ban-input (optional) # fail2ban (optional)
F2BI_CONTAINER_NAME= F2B_CONTAINER_NAME=
F2BI_TAG= F2B_TAG=
# fail2ban-docker (optional)
F2BD_CONTAINER_NAME=
F2BD_TAG=

@ -2,8 +2,8 @@ version: "3.2"
services: services:
fail2ban: fail2ban:
image: crazymax/fail2ban:${F2BI_TAG:-latest} image: crazymax/fail2ban:${F2B_TAG:-latest}
container_name: ${F2BI_CONTAINER_NAME:-fail2ban} container_name: ${F2B_CONTAINER_NAME:-fail2ban}
restart: ${SRV_RESTART:-unless-stopped} restart: ${SRV_RESTART:-unless-stopped}
network_mode: "host" network_mode: "host"
cap_add: cap_add:

Loading…
Cancel
Save