# Configuration

> Every setting of the registry engine.

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

For agents: Settings (env): DATABASE_URL (required); SYPNIA_SKILLS_PUBLIC_URL (required); SYPNIA_SKILLS_PORT 8096; SYPNIA_SKILLS_STORAGE s3://bucket or file:///path (required); SYPNIA_SKILLS_CDN_URL (optional, downloads redirect there); SYPNIA_SKILLS_AUTH_ISSUER + SYPNIA_SKILLS_AUTH_CLIENT_ID (OIDC; a Sypnia Data engine works); SYPNIA_SKILLS_KEY_DIR /keys; SYPNIA_SKILLS_REVIEW none|required (default none); SYPNIA_SKILLS_AI_URL + SYPNIA_SKILLS_AI_KEY (OpenAI-compatible, optional instructions check); SYPNIA_SKILLS_MIRROR (comma list of ids, or official, or empty); SYPNIA_SKILLS_MIRROR_FROM https://skills.api.sypnia.com/v1; SYPNIA_SKILLS_ANONYMOUS_READ false (default: sign-in to read); SYPNIA_SKILLS_MAX_PACKAGE_MB 2; SYPNIA_SKILLS_RESERVED_PREFIXES; SYPNIA_SKILLS_SMTP_URL (publish e-mails, optional); OTEL_EXPORTER_OTLP_ENDPOINT (traces, e.g. Telemetry).

### `DATABASE_URL`

- **Key:** `database`
- **Type:** string
- **Default:** `—`
- \[Engine]

Postgres connection string. Required.

### `SYPNIA_SKILLS_PUBLIC_URL`

- **Key:** `public_url`
- **Type:** string
- **Default:** `—`
- \[Engine]

The address projects use to reach the registry. Required.

### `SYPNIA_SKILLS_PORT`

- **Key:** `port`
- **Type:** number
- **Default:** `8096`
- \[Engine]

The port the engine listens on.

### `SYPNIA_SKILLS_STORAGE`

- **Key:** `storage`
- **Type:** string
- **Default:** `—`
- \[Engine]

Where packages are kept: `s3://<bucket>` (with the usual AWS settings, or `AWS_ENDPOINT_URL` for any S3-compatible storage) or `file:///<path>`. Required.

### `SYPNIA_SKILLS_CDN_URL`

- **Key:** `cdn_url`
- **Type:** string
- **Default:** `none`
- \[Engine]

When set, downloads redirect to this address instead of being served by the engine.

### `SYPNIA_SKILLS_AUTH_ISSUER`

- **Key:** `auth_issuer`
- **Type:** string
- **Default:** `—`
- \[Engine]

The OpenID Connect issuer people sign in with: a Sypnia Data engine or your company's provider. With `SYPNIA_SKILLS_AUTH_CLIENT_ID`.

### `SYPNIA_SKILLS_KEY_DIR`

- **Key:** `key_dir`
- **Type:** string
- **Default:** `/keys`
- \[Engine]

Where the signing keys are kept. The engine creates an Ed25519 key here on first start.

### `SYPNIA_SKILLS_REVIEW`

- **Key:** `review`
- **Type:** string
- **Default:** `none`
- \[Engine]

`none`: versions are listed after the automatic checks. `required`: every new skill and every new major waits for a member with the reviewer role.

### `SYPNIA_SKILLS_AI_URL`

- **Key:** `ai_url`
- **Type:** string
- **Default:** `none`
- \[Engine]

An OpenAI-compatible endpoint for the instructions check, with `SYPNIA_SKILLS_AI_KEY`. Without it, that check is skipped and said so on each version.

### `SYPNIA_SKILLS_MIRROR`

- **Key:** `mirror`
- **Type:** string
- **Default:** `empty`
- \[Engine]

Public skills to copy from `SYPNIA_SKILLS_MIRROR_FROM` (default `https://skills.api.sypnia.com/v1`): a comma-separated list of ids, or `official`.

### `SYPNIA_SKILLS_ANONYMOUS_READ`

- **Key:** `anonymous_read`
- **Type:** boolean
- **Default:** `false`
- \[Engine]

Whether people who are not signed in can search and install.

### `SYPNIA_SKILLS_MAX_PACKAGE_MB`

- **Key:** `max_package_mb`
- **Type:** number
- **Default:** `2`
- \[Engine]

The largest package, compressed, in MB. Other limits are on [Limits](https://skills.docs.sypnia.com/reference/limits).

### `SYPNIA_SKILLS_RESERVED_PREFIXES`

- **Key:** `reserved_prefixes`
- **Type:** string
- **Default:** `sypnia-`
- \[Engine]

Name prefixes only their publisher may use, such as `acme-=acme`.

### `SYPNIA_SKILLS_SMTP_URL`

- **Key:** `smtp_url`
- **Type:** string
- **Default:** `none`
- \[Engine]

Where to send the e-mails to publishers about new versions. Without it, they appear only in the registry.

### `OTEL_EXPORTER_OTLP_ENDPOINT`

- **Key:** `otel`
- **Type:** string
- **Default:** `none`
- \[Engine]

Send the registry's traces to an OpenTelemetry endpoint, such as Sypnia Telemetry.
