Actualizando configuracion de stacks
This commit is contained in:
3
stacks/crowdsec/.env.example
Normal file
3
stacks/crowdsec/.env.example
Normal file
@@ -0,0 +1,3 @@
|
||||
DATA_DIR="./crowdsec"
|
||||
COLLECTIONS="crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/base-http-scenarios crowdsecurity/sshd crowdsecurity/linux crowdsecurity/appsec-generic-rules crowdsecurity/appsec-virtual-patching crowdsecurity/appsec-crs"
|
||||
GID=1000
|
||||
24
stacks/crowdsec/compose.yml
Normal file
24
stacks/crowdsec/compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
crowdsec:
|
||||
image: crowdsecurity/crowdsec
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 127.0.0.1:9876:8080
|
||||
expose:
|
||||
- 8080
|
||||
- 6060
|
||||
- 7422
|
||||
environment:
|
||||
COLLECTIONS: "${COLLECTIONS}"
|
||||
GID: "${GID-1000}"
|
||||
volumes:
|
||||
- "${DATA_ROOT}/crowdsec/data:/var/lib/crowdsec/data/"
|
||||
- "${DATA_ROOT}/crowdsec/config:/etc/crowdsec/"
|
||||
- "${DATA_ROOT}/traefik/logs:/var/log/traefik:ro"
|
||||
- /var/log/auth.log:/var/log/auth.log:ro
|
||||
- /var/log/syslog:/var/log/syslog:ro
|
||||
networks:
|
||||
- traefik
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
Reference in New Issue
Block a user