Skip to content
RealDestroyer Logo

Configuration

Environment variables and config patterns used across products.

Environment variables

Store secrets outside source control. A typical product expects a license key and an API secret.

.env
bash
REALDESTROYER_LICENSE_KEY=your_license_key
REALDESTROYER_API_SECRET=your_api_secret
NODE_ENV=production

Config file

Where supported, products accept a JSON or YAML config for non-secret settings such as rate limits and feature flags.

realdestroyer.config.json
json
{
  "rateLimit": {
    "windowMs": 60000,
    "max": 120
  },
  "features": {
    "webhooks": true
  }
}