CrowdSec-Manager Docs
Configuration

Volumes & Persistence

Required and optional volume mappings

Volumes & Persistence

The minimum deployment relies on five volume mappings.

Required volumes

Host pathContainer pathPurpose
/var/run/docker.sock/var/run/docker.sockDocker API access for service actions.
/root/config/app/configRuntime configuration files used by manager workflows.
/root/docker-compose.yml/app/docker-compose.ymlCompose file used for stack operations.
./backups/app/backupsBackup artifacts.
./data/app/dataPersistent settings database and app data.

Minimum example

volumes:
  - /var/run/docker.sock:/var/run/docker.sock
  - /root/config:/app/config
  - /root/docker-compose.yml:/app/docker-compose.yml
  - ./backups:/app/backups
  - ./data:/app/data

Optional volumes

  • Traefik log path mapping, if you want in-app log analysis from host log files.
  • Custom config mounts, only when your host paths differ from defaults.

On this page