You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
maybe I am too dumb, but I am trying to run this fail2ban images with nextcloud using docker-compose. I use the following folder structure:
nextcloud/app
nextcloud folder with the log
nextcloud/fail2ban
-- filter.d
**** nextcloud.conf
-- jail.d
**** jail.conf
The part of my docker-compsoe file: fail2ban: image: crazymax/fail2ban:latest container_name: nextcloud-fail2ban networks: - nextcloud_network cap_add: - NET_ADMIN - NET_RAW volumes: - nextcloud/fail2ban:/data - nextcloud/app/data:/var/log:ro env_file: - ./fail2ban.env restart: unless-stopped
wenn running the compose I see the following log: Setting timezone to Europe/Berlin... Setting SSMTP configuration... WARNING: SSMTP_HOST must be defined if you want fail2ban to send emails Initializing files and folders... Setting Fail2ban configuration... Checking for custom actions in /data/action.d... Checking for custom filters in /data/filter.d... 2020-07-22 15:28:15,557 fail2ban.configreader [1]: INFO Loading configs for fail2ban under /etc/fail2ban 2020-07-22 15:28:15,558 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/fail2ban.conf'] 2020-07-22 15:28:15,559 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/fail2ban.conf'] 2020-07-22 15:28:15,560 fail2ban [1]: INFO Using socket file /var/run/fail2ban/fail2ban.sock 2020-07-22 15:28:15,560 fail2ban [1]: INFO Using pid file /var/run/fail2ban/fail2ban.pid, [INFO] logging to STDOUT 2020-07-22 15:28:15,563 fail2ban.configreader [1]: INFO Loading configs for jail under /etc/fail2ban 2020-07-22 15:28:15,564 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/jail.conf'] 2020-07-22 15:28:15,579 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-debian.conf'] 2020-07-22 15:28:15,580 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-common.conf'] 2020-07-22 15:28:15,582 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-overrides.local'] 2020-07-22 15:28:15,583 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-common.conf', '/etc/fail2ban/paths-debian.conf', '/etc/fail2ban/jail.conf'] 2020-07-22 15:28:15,628 fail2ban.server [1]: INFO -------------------------------------------------- 2020-07-22 15:28:15,629 fail2ban.server [1]: INFO Starting Fail2ban v0.11.1 2020-07-22 15:28:15,630 fail2ban.observer [1]: INFO Observer start... 2020-07-22 15:28:15,637 fail2ban.database [1]: INFO Connected to fail2ban persistent database '/data/db/fail2ban.sqlite3' Server ready
Executing docker exec -t nextcloud-fail2ban fail2ban-client status results in Status |- Number of jail: 0 - Jail list:
`
Is my path configuration wrong? Or where is my mistake?
with best regards
The text was updated successfully, but these errors were encountered:
Hey,
maybe I am too dumb, but I am trying to run this fail2ban images with nextcloud using docker-compose. I use the following folder structure:
nextcloud/app
nextcloud/fail2ban
-- filter.d
**** nextcloud.conf
-- jail.d
**** jail.conf
The part of my docker-compsoe file:
fail2ban: image: crazymax/fail2ban:latest container_name: nextcloud-fail2ban networks: - nextcloud_network cap_add: - NET_ADMIN - NET_RAW volumes: - nextcloud/fail2ban:/data - nextcloud/app/data:/var/log:ro env_file: - ./fail2ban.env restart: unless-stopped
wenn running the compose I see the following log:
Setting timezone to Europe/Berlin... Setting SSMTP configuration... WARNING: SSMTP_HOST must be defined if you want fail2ban to send emails Initializing files and folders... Setting Fail2ban configuration... Checking for custom actions in /data/action.d... Checking for custom filters in /data/filter.d... 2020-07-22 15:28:15,557 fail2ban.configreader [1]: INFO Loading configs for fail2ban under /etc/fail2ban 2020-07-22 15:28:15,558 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/fail2ban.conf'] 2020-07-22 15:28:15,559 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/fail2ban.conf'] 2020-07-22 15:28:15,560 fail2ban [1]: INFO Using socket file /var/run/fail2ban/fail2ban.sock 2020-07-22 15:28:15,560 fail2ban [1]: INFO Using pid file /var/run/fail2ban/fail2ban.pid, [INFO] logging to STDOUT 2020-07-22 15:28:15,563 fail2ban.configreader [1]: INFO Loading configs for jail under /etc/fail2ban 2020-07-22 15:28:15,564 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/jail.conf'] 2020-07-22 15:28:15,579 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-debian.conf'] 2020-07-22 15:28:15,580 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-common.conf'] 2020-07-22 15:28:15,582 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-overrides.local'] 2020-07-22 15:28:15,583 fail2ban.configparserin [1]: INFO Loading files: ['/etc/fail2ban/paths-common.conf', '/etc/fail2ban/paths-debian.conf', '/etc/fail2ban/jail.conf'] 2020-07-22 15:28:15,628 fail2ban.server [1]: INFO -------------------------------------------------- 2020-07-22 15:28:15,629 fail2ban.server [1]: INFO Starting Fail2ban v0.11.1 2020-07-22 15:28:15,630 fail2ban.observer [1]: INFO Observer start... 2020-07-22 15:28:15,637 fail2ban.database [1]: INFO Connected to fail2ban persistent database '/data/db/fail2ban.sqlite3' Server ready
Executing docker exec -t nextcloud-fail2ban fail2ban-client status results in
Status |- Number of jail: 0
- Jail list:`
Is my path configuration wrong? Or where is my mistake?
with best regards
The text was updated successfully, but these errors were encountered: