Skip to content

Crowdsec config folder is missing as persistent volume #40

Description

@burgerga

In the caddy docker-compose examle the /etc/crowdsec volume is missing (see https://docs.crowdsec.net/u/getting_started/installation/docker/#persist-data-directories)

https://docs.crowdsec.net/u/getting_started/installation/docker/#compose provides an example. For the crowdsec container

- crowdsec-config:/etc/crowdsec/

Needs to be added to the volumes, and at the bottom

  crowdsec-config:

needs to be added at the volumes.

A bonus change would be to change the acquis bind mount to:

./crowdsec/acquis.d/:/etc/crowdsec/acquis.d/

as this allows to add log matchers, but also appsec configuration (as you yourself suggest in https://www.crowdsec.net/blog/secure-caddy-crowdsec-remediation-waf-guide ;) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions