added acquis file and fixed crowdsec mounts
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
|||||||
- ./caddy/data:/data
|
- ./caddy/data:/data
|
||||||
- ./caddy-config:/config
|
- ./caddy-config:/config
|
||||||
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||||
- ./caddy/logs:/srv/
|
- ./caddy/logs:/var/log/caddy
|
||||||
|
|
||||||
crowdsec:
|
crowdsec:
|
||||||
image: docker.io/crowdsecurity/crowdsec:latest
|
image: docker.io/crowdsecurity/crowdsec:latest
|
||||||
@@ -37,9 +37,9 @@ services:
|
|||||||
- reverse-proxy
|
- reverse-proxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- crowdsec-db:/var/lib/crowdsec/data/
|
- ./crowdsec/db:/var/lib/crowdsec/data/
|
||||||
- ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
|
- ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
|
||||||
- caddy-logs:/var/log/caddy:ro
|
- ./caddy/logs:/var/log/caddy:ro
|
||||||
|
|
||||||
whoami:
|
whoami:
|
||||||
image: traefik/whoami
|
image: traefik/whoami
|
||||||
|
|||||||
4
caddy/crowdsec/acquis.yaml
Normal file
4
caddy/crowdsec/acquis.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
filenames:
|
||||||
|
- /var/log/caddy/*.log
|
||||||
|
labels:
|
||||||
|
type: caddy
|
||||||
Reference in New Issue
Block a user