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.
Minimum variables (recommended)
| Variable | Example | Purpose |
|---|---|---|
PORT | 8080 | HTTP port inside the container. |
ENVIRONMENT | production | Runtime mode. |
TRAEFIK_DYNAMIC_CONFIG | /etc/traefik/dynamic_config.yml | Traefik dynamic config path used by manager actions. |
TRAEFIK_CONTAINER_NAME | traefik | Traefik container name in your stack. |
TRAEFIK_STATIC_CONFIG | /etc/traefik/traefik_config.yml | Traefik static config path. |
Common optional variables
| Variable | Default | When to change |
|---|---|---|
DATABASE_PATH | /app/data/settings.db | If you store app data elsewhere in container. |
BACKUP_DIR | /app/backups | If backup path is customized in container. |
LOG_LEVEL | info | For troubleshooting (debug) or quieter logs. |
RETENTION_DAYS | 60 | To 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.