mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-07-01 16:08:32 +02:00
Add new file
This commit is contained in:
19
fail2ban/docker-compose.yaml
Normal file
19
fail2ban/docker-compose.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
version: "3.5"
|
||||
|
||||
services:
|
||||
fail2ban:
|
||||
image: crazymax/fail2ban:latest
|
||||
container_name: fail2ban
|
||||
network_mode: "host"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
volumes:
|
||||
- "/share/docker_data/fail2ban/data:/data"
|
||||
- "/var/log:/var/log"
|
||||
- "/share/docker_data/nextcloud/data/nextcloud.log:/nextcloud.log:ro"
|
||||
env_file:
|
||||
- "/data/fail2ban.env"
|
||||
restart: always
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
Reference in New Issue
Block a user