- Edit the compose file and comment out the volumes referencing files from crowdsec-config
- Let the container fully start and create the initial config for the container.
- Restore the compose file to the original state and start the container again.
Run the following:
cscli console enroll <EnrollToken>
To generate an API Key for a Traefik Bouncer run:
docker exec -t crowdsec cscli bouncers add traefik-bouncer-<hostname>
To generate a maching login for a Crowsec Satellite run:
cscli machines add <hostname> --auto -f /tmp/crowdsec.yaml
cat /tmp/crowdsec.yaml
rm /tmp/crowdsec.yaml