feat: remove crowdsec

This commit is contained in:
2025-09-25 10:54:35 +01:00
parent a21575c37e
commit e4c99570f0
4 changed files with 1 additions and 43 deletions
-26
View File
@@ -84,39 +84,16 @@ services:
context: ./caddy
target: caddy
container_name: gateway_caddy
depends_on:
- crowdsec
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
env_file:
- ./secrets/caddy/.env
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
- ./dashboard:/var/www/dashboard
- caddy_data:/data
- caddy_config:/config
networks:
crowdsec:
security_opt:
- no-new-privileges=true
crowdsec:
image: docker.io/crowdsecurity/crowdsec:latest
container_name: gateway_crowdsec
environment:
- GID=1000
- COLLECTIONS=crowdsecurity/caddy crowdsecurity/http-cve crowdsecurity/whitelist-good-actors
env_file:
- ./secrets/crowdsec/.env
volumes:
- ./crowdsec/data:/var/lib/crowdsec/data/
- ./caddy/crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
- caddy_logs:/var/log/caddy:ro
networks:
crowdsec:
restart: unless-stopped
security_opt:
- no-new-privileges=true
ddns:
@@ -151,6 +128,3 @@ volumes:
caddy_logs:
caddy_data:
caddy_config:
networks:
crowdsec:
driver: bridge