add note about fail2ban config

This commit is contained in:
decentral1se 2022-08-16 13:41:11 +02:00
parent 01db057d6a
commit eb04428dd4
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 17 additions and 0 deletions

View File

@ -25,3 +25,20 @@
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
## Tips & Tricks
### Wiring up `fail2ban`
You need the following logging config:
```
USE_SYSLOG=true
EXTENDED_LOGGING=true
LOG_FILE=/data/vaultwarden.log
LOG_LEVEL=warn
```
Then follow [this guide](https://github.com/dani-garcia/vaultwarden/wiki/Fail2Ban-Setup).
And you must use `COMPOSE_FILE="$COMPOSE_FILE:compose.host.yml"` in your traefik config to get real IPs.