crowdsec add some collection
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-10-08 10:25:15 +02:00
parent 6149b95b4e
commit 196d1b1759
2 changed files with 27 additions and 3 deletions

View File

@ -37,13 +37,37 @@ job "crowdsec-agent" {
} }
env { env {
COLLECTIONS = "crowdsecurity/traefik crowdsecurity/home-assistant LePresidente/gitea" COLLECTIONS = "andreasbrett/paperless-ngx Dominic-Wagner/vaultwarden LePresidente/jellyfin crowdsecurity/traefik crowdsecurity/home-assistant LePresidente/gitea crowdsecurity/postfix crowdsecurity/dovecot "
DISABLE_LOCAL_API = "true" DISABLE_LOCAL_API = "true"
} }
template { template {
data = <<EOH data = <<EOH
--- ---
source: docker source: docker
container_name_regexp:
- jellyfin*
labels:
type: jellyfin
---
source: docker
container_name_regexp:
- paperless-ng*
labels:
type: Paperless-ngx
---
source: docker
container_name_regexp:
- vaultwarden*
labels:
type: Vaultwarden
---
source: docker
container_name_regexp:
- docker-mailserver*
labels:
type: syslog
---
source: docker
container_name_regexp: container_name_regexp:
- traefik-* - traefik-*
labels: labels:

View File

@ -112,7 +112,7 @@ job "dockermailserver" {
# policies= ["policy_name"] # policies= ["policy_name"]
# #
#} #}
task "server" { task "docker-mailserver" {
driver = "docker" driver = "docker"
config { config {
image = "ghcr.io/docker-mailserver/docker-mailserver:edge" image = "ghcr.io/docker-mailserver/docker-mailserver:edge"