# Configuration

> Every environment variable of the engine.

Applies to: the Sypnia engine (open source, self-hosted).  
Source: https://domains.docs.sypnia.com/self-hosting/configuration/

For agents: Domains engine env: DATABASE_URL, AWS_REGION (us-east-1), REGISTRAR (route53), DNS_PROVIDER (route53), KEEP_REGISTRAR_AUTORENEW (true), REQUIRE_CONFIRMATION (true), SPENDING_LIMIT_MONTHLY, RECONCILE_EVERY (1h), WEBHOOK_URL, JWKS_URL.

| Variable                   | Default     | Meaning                                                         |
| -------------------------- | ----------- | --------------------------------------------------------------- |
| `DATABASE_URL`             | —           | Postgres for `sypnia_domains`                                   |
| `AWS_REGION`               | `us-east-1` | Route 53 Domains is served from `us-east-1`                     |
| `REGISTRAR`                | `route53`   | the registrar adapter                                           |
| `DNS_PROVIDER`             | `route53`   | the DNS adapter                                                 |
| `KEEP_REGISTRAR_AUTORENEW` | `true`      | leave Route 53's own auto-renewal on                            |
| `REQUIRE_CONFIRMATION`     | `true`      | every purchase needs an explicit confirmation                   |
| `SPENDING_LIMIT_MONTHLY`   | —           | refuse purchases above this amount in a month, in your currency |
| `RECONCILE_EVERY`          | `1h`        | how often zones are compared with Route 53                      |
| `WEBHOOK_URL`              | —           | where operation, renewal and drift events are sent              |
| `JWKS_URL`                 | —           | to accept JWTs from your issuer as well as keys                 |
