This commit is contained in:
16
compose.yml
16
compose.yml
@@ -53,3 +53,19 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./sqlite.db:/db/sqlite.db
|
- ./sqlite.db:/db/sqlite.db
|
||||||
command: sqlite.db
|
command: sqlite.db
|
||||||
|
crowdsec:
|
||||||
|
image: crowdsecurity/crowdsec
|
||||||
|
environment:
|
||||||
|
COLLECTIONS: "crowdsecurity/caddy"
|
||||||
|
depends_on:
|
||||||
|
- "caddy"
|
||||||
|
volumes:
|
||||||
|
- ./caddy/logs:/var/log/caddy
|
||||||
|
- crowdsec-db:/var/lib/crowdsec/data/
|
||||||
|
- crowdsec-config:/etc/crowdsec/
|
||||||
|
- ./crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
|
||||||
|
- ./crowdsec/acquis-test.yaml:/etc/crowdsec/acquis-test.yaml
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
crowdsec-db:
|
||||||
|
crowdsec-config:
|
||||||
|
|||||||
4
crowdsec/acquis.yaml
Normal file
4
crowdsec/acquis.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
filenames:
|
||||||
|
- /var/log/caddy/access.log
|
||||||
|
labels:
|
||||||
|
type: caddy
|
||||||
Reference in New Issue
Block a user