mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
crowdsec vaultwarden
This commit is contained in:
parent
fb4fd912ed
commit
17a4f1c929
2 changed files with 8 additions and 2 deletions
|
|
@ -20,6 +20,12 @@ let
|
|||
type: syslog
|
||||
---
|
||||
source: journalctl
|
||||
journalctl_filter:
|
||||
- "_SYSTEMD_UNIT=vaultwarden.service"
|
||||
labels:
|
||||
type: vaultwarden
|
||||
---
|
||||
source: journalctl
|
||||
journalctl_filter:
|
||||
- "SYSLOG_IDENTIFIER=sudo"
|
||||
- "SYSLOG_IDENTIFIER=auth"
|
||||
|
|
@ -42,7 +48,7 @@ in
|
|||
autoStart = true;
|
||||
ports = [ "127.0.0.1:8080:8080" ];
|
||||
environment = {
|
||||
COLLECTIONS = "crowdsecurity/linux crowdsecurity/sshd crowdsecurity/traefik crowdsecurity/http-cve";
|
||||
COLLECTIONS = "crowdsecurity/linux crowdsecurity/sshd crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/vaultwarden";
|
||||
GID = "0";
|
||||
};
|
||||
volumes = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue