chore: clean up stale references and README

- jail.local: fix comment pointing to deleted docker-compose.cloudflare.yml
- .gitignore: remove .env entry (no env file in use)
- README: full rewrite to match current state (no .env, no webhook,
  correct file structure, inline compose config, CF setup instructions)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-20 15:38:20 +00:00
parent f87ce59842
commit 09124b10b9
3 changed files with 62 additions and 255 deletions

View File

@@ -1,15 +1,8 @@
# ── F2B Control Center — jail configuration (standard) ───────────────────────
#
# ── F2B Control Center — jail configuration ───────────────────────────────────
# Installed to /etc/fail2ban/jail.local on first container start.
# Persisted in the f2b-config Docker volume — survives image updates.
#
# WHITELIST: managed by the dashboard. The ignoreip line below is written by
# the entrypoint (from SUBNETS_TO_IGNORE) and updated live by the dashboard
# without restarting fail2ban.
#
# CLOUDFLARE: to also block IPs at the CF level, use docker-compose.cloudflare.yml
# instead of docker-compose.yml. It installs jail.cloudflare.local which
# adds the cloudflare action to every jail automatically.
# CLOUDFLARE: set CF_EMAIL + CF_APIKEY in docker-compose.yml to enable WAF banning.
# ─────────────────────────────────────────────────────────────────────────────
[DEFAULT]