Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions content/docs/self-hosting/environment-variables.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ Leave these unset to run without billing. Then grant access with the

| Variable | Notes |
| --- | --- |
| `COMPOSE_PROFILES` | `postgres` starts the bundled Postgres; `.env.example` sets it. Remove it when `DATABASE_URL` points at an external database. |
| `MOGPLEX_VERSION` | Image tag to run, such as `v0.2.0`. Default `latest`. |
| `MOGPLEX_IMAGE` | Image repository. Default `ghcr.io/mogplex/mogplex`; set it to use a mirror. |
| `MOGPLEX_PORT` | Host port for the app. Default `3000`. |
Expand Down
2 changes: 1 addition & 1 deletion content/docs/self-hosting/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Compose starts four services from that one image:

| Service | What it does |
| --- | --- |
| `postgres` | Postgres 17 with pgvector. Set `POSTGRES_PASSWORD` to change the default password. Set `DATABASE_URL` and `DATABASE_URL_UNPOOLED` to use an external database instead. |
| `postgres` | Postgres 17 with pgvector, started by `COMPOSE_PROFILES=postgres` from `.env.example`. Set `POSTGRES_PASSWORD` to change the default password. To use an external database instead, set `DATABASE_URL` and `DATABASE_URL_UNPOOLED` and remove `COMPOSE_PROFILES`; no local Postgres starts. |
| `migrate` | Applies `neon/baseline.sql` and `neon/migrations/`, then exits. The app starts only after it succeeds. |
| `app` | The web app on port 3000. Its health check calls `GET /api/health`. |
| `cron` | Calls each cron route on its schedule with `Authorization: Bearer $CRON_SECRET`. |
Expand Down
Loading