mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-14 09:33:44 +01:00
Merge pull request #285 from itr6/master
Add line for people using docker commands instead of docker-compose
This commit is contained in:
commit
e66edc1ce9
1 changed files with 5 additions and 1 deletions
|
@ -427,7 +427,11 @@ Bitwarden_rs logs failed login attempts to stdout. We need to set this so the ho
|
||||||
|
|
||||||
#### Logging Failed Login Attempts to Syslog
|
#### Logging Failed Login Attempts to Syslog
|
||||||
|
|
||||||
We need to set the logging driver to syslog so the host OS and Fail2Ban can see them. Add the following to your docker-compose file:
|
We need to set the logging driver to syslog so the host OS and Fail2Ban can see them.
|
||||||
|
|
||||||
|
If you are using docker commands, you will need to add: `--log-driver syslog --log-opt tag=$TAG` to your command.
|
||||||
|
|
||||||
|
If you are using docker-compose, add this to you yaml file:
|
||||||
```
|
```
|
||||||
bitwarden:
|
bitwarden:
|
||||||
logging:
|
logging:
|
||||||
|
|
Loading…
Reference in a new issue