crowdsec config

This commit is contained in:
2026-01-13 23:47:19 +01:00
parent b490b6684a
commit 80a0fbd9dd
2 changed files with 2 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ api:
- 127.0.0.1 - 127.0.0.1
- ::1 - ::1
online_client: # Central API credentials (to push signals and receive bad IPs) online_client: # Central API credentials (to push signals and receive bad IPs)
credentials_path: /etc/crowdsec//online_api_credentials.yaml credentials_path: /etc/crowdsec/online_api_credentials.yaml
enable: true enable: true
prometheus: prometheus:
enabled: true enabled: true

View File

@@ -16,6 +16,7 @@ services:
- ip4net - ip4net
volumes: volumes:
- ${SERVICE_PATH}/crowdsec/config/acquis.yaml:/etc/crowdsec/acquis.yaml:ro - ${SERVICE_PATH}/crowdsec/config/acquis.yaml:/etc/crowdsec/acquis.yaml:ro
- ${SERVICE_PATH}/crowdsec/config/config.yaml:/etc/crowdsec/config.yaml
- ${SERVICE_PATH}/crowdsec/config:/etc/crowdsec - ${SERVICE_PATH}/crowdsec/config:/etc/crowdsec
- ${SERVICE_PATH}/crowdsec/data:/var/lib/crowdsec/data - ${SERVICE_PATH}/crowdsec/data:/var/lib/crowdsec/data
- /var/log/traefik:/var/log/crowdsec:ro - /var/log/traefik:/var/log/crowdsec:ro