# Configuración

> Cada variable de entorno del motor.

Aplica a: el motor de Sypnia (código abierto, en tu propia infraestructura).  
Fuente: https://design.docs.sypnia.com/es/self-hosting/configuration/

Para agentes: Design engine env: DATABASE_URL, STORAGE_URL (S3-compatible; local folder default), PUBLIC_URL, PORT (7700), GIT_PROVIDER (sypnia|github|gitlab), GIT_URL, GIT_TOKEN, SYPNIA_DESIGN_AI_URL + SYPNIA_DESIGN_AI_KEY (OpenAI-compatible; empty = no AI help), RENDER_CONCURRENCY (2), RENDER_RETENTION_DAYS (30), UPLOAD_MAX_MB (10), JWKS_URL (accept JWTs from your issuer, e.g. Sypnia Data), TELEMETRY_ENDPOINT (OTLP).

| Variable                                       | Por defecto   | Significado                                                                                             |
| ---------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------- |
| `DATABASE_URL`                                 | —             | Postgres para `sypnia_design`                                                                           |
| `STORAGE_URL`                                  | carpeta local | almacenamiento compatible con S3 para recursos, imágenes y exportaciones                                |
| `PUBLIC_URL`                                   | —             | la dirección del motor, para los enlaces en los pull requests                                           |
| `PORT`                                         | `7700`        | el puerto HTTP (API y `/mcp`)                                                                           |
| `GIT_PROVIDER`                                 | `sypnia`      | `sypnia`, `github` o `gitlab`                                                                           |
| `GIT_URL`, `GIT_TOKEN`                         | —             | dónde viven los repositorios y un token que pueda subir ramas y abrir pull requests                     |
| `SYPNIA_DESIGN_AI_URL`, `SYPNIA_DESIGN_AI_KEY` | —             | un endpoint compatible con OpenAI para la ayuda de IA (Sypnia AI o el tuyo); vacío apaga la ayuda de IA |
| `RENDER_CONCURRENCY`                           | `2`           | imágenes al mismo tiempo                                                                                |
| `RENDER_RETENTION_DAYS`                        | `30`          | cuánto se guardan las imágenes                                                                          |
| `UPLOAD_MAX_MB`                                | `10`          | el archivo subido más grande                                                                            |
| `JWKS_URL`                                     | —             | acepta inicios de sesión de tu emisor (por ejemplo tu propio Sypnia Data)                               |
| `TELEMETRY_ENDPOINT`                           | —             | envía trazas a Telemetry o a cualquier colector OTLP                                                    |
