disabled service: Crowdsec
This commit is contained in:
@@ -30,41 +30,41 @@ services:
|
|||||||
constraints:
|
constraints:
|
||||||
- node.labels.task == control
|
- node.labels.task == control
|
||||||
|
|
||||||
crowdsec:
|
# crowdsec:
|
||||||
image: crowdsecurity/crowdsec:latest
|
# image: crowdsecurity/crowdsec:latest
|
||||||
environment:
|
# environment:
|
||||||
# Disable online API enrollment (use for local setup)
|
# # Disable online API enrollment (use for local setup)
|
||||||
- DISABLE_ONLINE_API=false
|
# - DISABLE_ONLINE_API=false
|
||||||
# Set collections to install
|
# # Set collections to install
|
||||||
- COLLECTIONS=crowdsecurity/traefik crowdsecurity/http-cve
|
# - COLLECTIONS=crowdsecurity/traefik crowdsecurity/http-cve
|
||||||
# Enable Prometheus metrics
|
# # Enable Prometheus metrics
|
||||||
- METRICS_PORT=6060
|
# - METRICS_PORT=6060
|
||||||
volumes:
|
# volumes:
|
||||||
# Persistent CrowdSec configuration and data
|
# # Persistent CrowdSec configuration and data
|
||||||
- /home/doc/projects/swarm-data/crowdsec/config:/etc/crowdsec
|
# - /home/doc/projects/swarm-data/crowdsec/config:/etc/crowdsec
|
||||||
- /home/doc/projects/swarm-data/crowdsec/data:/var/lib/crowdsec/data
|
# - /home/doc/projects/swarm-data/crowdsec/data:/var/lib/crowdsec/data
|
||||||
# Traefik access logs (read-only)
|
# # Traefik access logs (read-only)
|
||||||
- /home/doc/projects/swarm-data/traefik/logs:/var/log/traefik:ro
|
# - /home/doc/projects/swarm-data/traefik/logs:/var/log/traefik:ro
|
||||||
# Acquis configuration
|
# # Acquis configuration
|
||||||
- ./acquis.yaml:/etc/crowdsec/acquis.yaml:ro
|
# - ./acquis.yaml:/etc/crowdsec/acquis.yaml:ro
|
||||||
networks:
|
# networks:
|
||||||
- frostlabs
|
# - frostlabs
|
||||||
deploy:
|
# deploy:
|
||||||
mode: replicated
|
# mode: replicated
|
||||||
replicas: 1
|
# replicas: 1
|
||||||
placement:
|
# placement:
|
||||||
constraints:
|
# constraints:
|
||||||
- node.labels.task == control
|
# - node.labels.task == control
|
||||||
restart_policy:
|
# restart_policy:
|
||||||
condition: on-failure
|
# condition: on-failure
|
||||||
delay: 5s
|
# delay: 5s
|
||||||
max_attempts: 3
|
# max_attempts: 3
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: [ "CMD", "cscli", "version" ]
|
# test: [ "CMD", "cscli", "version" ]
|
||||||
interval: 30s
|
# interval: 30s
|
||||||
timeout: 10s
|
# timeout: 10s
|
||||||
retries: 3
|
# retries: 3
|
||||||
start_period: 60s
|
# start_period: 60s
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:latest
|
image: portainer/portainer-ce:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user