2024-10-22 00:39:08 +00:00
|
|
|
services:
|
|
|
|
|
|
|
|
crowdsec:
|
2024-10-22 02:21:12 +00:00
|
|
|
image: crowdsecurity/crowdsec:v1.6.3
|
2024-10-22 00:39:08 +00:00
|
|
|
container_name: crowdsec
|
|
|
|
restart: unless-stopped
|
|
|
|
expose:
|
|
|
|
- 8080
|
|
|
|
volumes:
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/logs:/var/log/crowdsec:ro
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/data:/var/lib/crowdsec/data
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/crowdsec/etc:/etc/crowdsec
|
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/traefik/logs:/var/log/traefik:ro
|
|
|
|
- /var/log/auth.log:/var/log/auth.log:ro
|
|
|
|
environment:
|
2024-10-22 13:06:14 +00:00
|
|
|
- GID=1000
|
2024-10-22 02:53:36 +00:00
|
|
|
- BOUNCER_KEY_TRAEFIK=${CROWDSEC-BOUNCER-API-TOKEN:-FIXME-LAPI-KEY}
|
2024-10-22 02:18:39 +00:00
|
|
|
- COLLECTIONS=crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/appsec-generic-rules crowdsecurity/appsec-virtual-patching
|
2024-10-22 13:11:08 +00:00
|
|
|
#security_opt:
|
|
|
|
# - no-new-privileges=true
|
2024-10-22 02:18:39 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
2024-10-22 00:39:08 +00:00
|
|
|
|
2024-10-22 02:18:39 +00:00
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|