Merge pull request #285 from itr6/master

Add line for people using docker commands instead of docker-compose
This commit is contained in:
Daniel García 2018-12-13 01:07:17 +01:00 committed by GitHub
commit e66edc1ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
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:
logging: