Skip to content

Commit bf748e4

Browse files
committed
docs(self-hosting): document API_ONLY_SERVICE_MODE
1 parent c55c97a commit bf748e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/self-hosting/env/webapp.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ mode: "wide"
1919
| `LOGIN_ORIGIN` | Yes | http://localhost:3030 | Login origin URL. Most likely the same as `APP_ORIGIN`. |
2020
| `API_ORIGIN` | No | `APP_ORIGIN` | API origin URL. |
2121
| `STREAM_ORIGIN` | No | `APP_ORIGIN` | Realtime stream origin URL. |
22+
| `API_ONLY_SERVICE_MODE` | No | — | Serve only the SDK, CLI and worker APIs from this instance. `enforce` redirects `GET` and `HEAD` dashboard requests to the same path on `APP_ORIGIN` and returns 404 for other non-API requests. `report` only logs those requests. Off when unset. |
2223
| `ELECTRIC_ORIGIN` | No | http://localhost:3060 | Electric origin URL. |
2324
| **Postgres** | | | |
2425
| `DATABASE_URL` | Yes | — | PostgreSQL connection string. |

0 commit comments

Comments
 (0)