Skip to content

Backend Environment Reference

These variables configure the backend services (api, worker, upload). Compose reads them from .env; Helm renders them into a ConfigMap (non-secret) and Secret (secret).

License & mode

VariableDefaultNotes
RTYLR_LICENSE_KEYYour rtylr license key (provided by Voxire)
DEPLOYMENT_MODEself_hosted
APP_ENVproduction

Configurable URLs

AUTH_URL, DASH_URL, POS_URL, ERP_URL, HR_URL, CRM_URL, FINANCE_URL, FLOW_URL, INSIGHTS_URL, RECRUIT_URL, MENU_URL, API_URL, UPLOAD_URL.

CORS_ALLOWED_ORIGINS is derived from the frontend URLs (Compose builds it in the compose file; Helm builds it in the ConfigMap).

Secrets

VariableNotes
JWT_SECRETRequired; generated by setup.sh / set via secrets.jwtSecret
INTERNAL_TOKENInternal service-to-service token
CDN_API_KEYUpload service key

Database

VariableDefault
DB_HOSTdb (bundled) or your host
DB_PORT3306
DB_NAMErtylr_self_host
DB_USERrtylr_user
DB_PASSWORD(secret)

Cache

VariableDefault
REDIS_URLredis://redis:6379 (bundled) or your URL

Object storage (S3-compatible)

VariableDefaultNotes
S3_BUCKET_NAMErtylr-self-host
S3_REGIONus-east-1
S3_ENDPOINThttp://floci:4566Your S3 endpoint when BYO
S3_FORCE_PATH_STYLEtrueNeeded for MinIO/floci
AWS_ACCESS_KEY_IDrtylr
AWS_SECRET_ACCESS_KEY(secret)
CDN_MAX_UPLOAD_MB100

Optional passthrough integrations

SENTRY_DSN, AXIOM_TOKEN, AXIOM_DATASET, RESEND_API_KEY, OPENAI_API_KEY, OPENAI_ORG_ID, OPENAI_BASE_URL, GEMINI_API_KEY, DEEPSEEK_API_KEY, NVIDIA_NIM_API_KEY, AI_PRIMARY_PROVIDER, PADDLE_API_KEY, PADDLE_WEBHOOK_SECRET, PADDLE_CLIENT_TOKEN, PADDLE_SANDBOX.

In Helm, add any additional variables through extraEnv (non-secret) and extraSecretEnv (secret) — both are applied to the backend services.

Built by Voxire.