keeping crowdsec up to date docker (swarm)

Is there a recommended way to keep CrowdSec collections, scenarios, and AppSec rules up-to-date automatically, instead of having to manually run
cscli hub update and cscli hub upgrade
?


Are there any built-in or best-practice methods for automating rule updates within CrowdSec deployments?

Recreating the container updates those rules if I am not mistaken.
Does this also happen with persisted container data?
      # crowdsec container data
      - /etc/crowdsec/acquis.yaml:/etc/crowdsec/acquis.yaml
      - crowdsec-db:/var/lib/crowdsec/data
      - crowdsec-config:/etc/crowdsec
Was this page helpful?