forked from wolffcatskyy/crowdsec-blocklist-import
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (28 loc) · 1.19 KB
/
docker-compose.yml
File metadata and controls
37 lines (28 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "3.8"
services:
crowdsec-blocklist-import:
build: .
# Or use pre-built:
# image: ghcr.io/wolffcatskyy/crowdsec-blocklist-import:latest
container_name: crowdsec-blocklist-import
restart: "no" # Run once and exit
environment:
# CrowdSec container name (must be accessible via Docker socket)
- CROWDSEC_CONTAINER=crowdsec
# How long decisions last (run script daily to refresh)
- DECISION_DURATION=24h
# Max total decisions — prevents bouncer overload on embedded devices (#21)
# UDM SE/Pro: 50000 | UDR: 15000 | USG: 8000 | Linux server: 0 (unlimited)
- MAX_DECISIONS=40000
# Logging (DEBUG, INFO, WARN, ERROR)
- LOG_LEVEL=INFO
# Timezone
- TZ=America/New_York
# Anonymous telemetry (enabled by default, set to false to disable)
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
# Prometheus metrics (enabled by default, pushing to localhost:9091)
- METRICS_ENABLED=${METRICS_ENABLED:-true}
- METRICS_PUSHGATEWAY_URL=${METRICS_PUSHGATEWAY_URL:-localhost:9091}
volumes:
# Docker socket for accessing CrowdSec container
- /var/run/docker.sock:/var/run/docker.sock:ro