add f2b to arm
This commit is contained in:
parent
3c2f4a8b75
commit
e04c448475
1 changed files with 24 additions and 0 deletions
|
@ -66,6 +66,30 @@ services:
|
|||
networks:
|
||||
- gitea_main
|
||||
|
||||
fail2ban:
|
||||
image: crazymax/fail2ban:1.1.0
|
||||
container_name: fail2ban
|
||||
network_mode: "host"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
volumes:
|
||||
- "/docker/appdata/fail2ban/data:/data"
|
||||
- "/var/log/auth.log:/var/log/auth.log:ro"
|
||||
- "/docker/appdata/nginx/data/logs/:/log/npm/:ro"
|
||||
environment:
|
||||
- TZ=America/New_York
|
||||
- F2B_LOG_TARGET=STDOUT
|
||||
- F2B_LOG_LEVEL=INFO
|
||||
- F2B_DB_PURGE_AGE=1d
|
||||
- SSMTP_HOST=$SSMTP_HOST
|
||||
- SSMTP_PORT=587
|
||||
- SSMTP_HOSTNAME=$SSMTP_HOSTNAME
|
||||
- SSMTP_USER=$SSMTP_USER
|
||||
- SSMTP_PASSWORD=$SSMTP_PASSWORD
|
||||
- SSMTP_TLS=YES
|
||||
restart: always
|
||||
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:1.23.13
|
||||
container_name: uptime-kuma
|
||||
|
|
Loading…
Reference in a new issue