Skip to main content

Configuration

qyl is configured entirely via environment variables, following the 12-factor app methodology.

Core Settings

Authentication

Always set QYL_TOKEN in production environments. Without it, anyone can access your telemetry.

Telemetry Limits

The cleanup service runs on the configured interval and removes:
  1. Data older than QYL_MAX_RETENTION_DAYS
  2. Oldest data when count exceeds limits

CORS

When using * (wildcard), credentials are automatically disabled per RFC 6454.
Example with specific origins:

OpenTelemetry

Standard OTEL environment variables are supported:

Docker Configuration

Railway Deployment

qyl is optimized for Railway’s one-click deployment:
  1. Click “Deploy on Railway” in the GitHub repo
  2. Set environment variables in Railway dashboard
  3. Railway automatically:
    • Provisions persistent volume for DuckDB
    • Exposes ports 5100 and 4317
    • Sets up health checks
Recommended Railway config:

Development

For local development:
The dashboard dev server runs on port 5173 with hot reload.