diff --git a/docs/self-hosting/env/webapp.mdx b/docs/self-hosting/env/webapp.mdx index dc7d6a65167..8aba3068784 100644 --- a/docs/self-hosting/env/webapp.mdx +++ b/docs/self-hosting/env/webapp.mdx @@ -19,6 +19,7 @@ mode: "wide" | `LOGIN_ORIGIN` | Yes | http://localhost:3030 | Login origin URL. Most likely the same as `APP_ORIGIN`. | | `API_ORIGIN` | No | `APP_ORIGIN` | API origin URL. | | `STREAM_ORIGIN` | No | `APP_ORIGIN` | Realtime stream origin URL. | +| `API_ONLY_SERVICE_MODE` | No | — | Serve only the SDK, CLI and worker APIs from this instance. `enforce` redirects `GET` and `HEAD` non-API requests to the same path on `APP_ORIGIN` when set; other methods or requests without `APP_ORIGIN` return 404. `report` only logs those requests without blocking them. Off when unset. | | `ELECTRIC_ORIGIN` | No | http://localhost:3060 | Electric origin URL. | | **Postgres** | | | | | `DATABASE_URL` | Yes | — | PostgreSQL connection string. |