CrowdSec-Manager Docs
Configuration

Environment Variables

Core runtime configuration for CrowdSec Manager

Environment Variables

The minimum deployment needs only a small environment set. Add more variables only when your paths or container names differ.

VariableExamplePurpose
PORT8080HTTP port inside the container.
ENVIRONMENTproductionRuntime mode.
TRAEFIK_DYNAMIC_CONFIG/etc/traefik/dynamic_config.ymlTraefik dynamic config path used by manager actions.
TRAEFIK_CONTAINER_NAMEtraefikTraefik container name in your stack.
TRAEFIK_STATIC_CONFIG/etc/traefik/traefik_config.ymlTraefik static config path.

Common optional variables

VariableDefaultWhen to change
DATABASE_PATH/app/data/settings.dbIf you store app data elsewhere in container.
BACKUP_DIR/app/backupsIf backup path is customized in container.
LOG_LEVELinfoFor troubleshooting (debug) or quieter logs.
RETENTION_DAYS60To change backup retention policy.

Notes

  • Keep environment values as in-container paths.
  • Use Docker volume mappings to map host paths to those container paths.
  • Multi-proxy support is not available in this release.

On this page