Files
terraform/modules/apps/gateway/lib/scripts/install-crowdsec.sh
JulienAldon a56911b896 Add(module): add girasol module
Add(module): add amap module
Add(module): add common lib and services
Add(module): add base structure for keycloak
Add(module): add base structure for rocket
Add(module): add n8n and windmill modules
Add(docker): add install docker script in common module
Add(template): add root for aldon.fr and mathieu.wiki in traefik.service template
2026-04-21 16:52:41 +02:00

17 lines
440 B
Bash

set -e
sudo apt update
sudo apt install -y curl gnupg lsb-release
sudo apt install crowdsec
sudo cscli collections install crowdsecurity/traefik
sudo cscli collections install crowdsecurity/http-cve
sudo cscli collections install crowdsecurity/base-http-scenarios
sudo cscli parsers install crowdsecurity/geoip-enrich
sudo systemctl enable crowdsec
sudo systemctl restart crowdsec
sudo cscli hub update
cscli dashboard setup -l 0.0.0.0