Supabase¶
Superuser-only management of self-hosted Supabase projects. One project is one docker compose project, one private Docker network and one published gateway port (Envoy, which serves the REST, Auth, Realtime, Storage and Functions APIs and also fronts Studio behind basic auth), plus an optional second port that publishes Postgres directly. Every project's files are rendered under the plugin's BaseDir/<slug>/ from embedded upstream Supabase compose assets, and the lifecycle is driven with docker compose rather than docker run, because Supabase relies on depends_on / service_healthy ordering: Auth must not start before Postgres has finished initdb.
All endpoints below are mounted under /api. Authentication: Authorization: Bearer <token> unless noted as public.
Endpoint count: 9
Endpoints¶
| Method | Path | Handler | Guards |
|---|---|---|---|
GET |
/api/supabase/projects |
listSupabaseProjects |
RequireSuperuser(), RequirePlugin(db, "supabase") |
POST |
/api/supabase/projects |
createSupabaseProject |
RequireSuperuser(), RequirePlugin(db, "supabase") |
DELETE |
/api/supabase/projects/:slug |
deleteSupabaseProject |
RequireSuperuser(), RequirePlugin(db, "supabase") |
GET |
/api/supabase/projects/:slug |
getSupabaseProject |
RequireSuperuser(), RequirePlugin(db, "supabase") |
PUT |
/api/supabase/projects/:slug |
updateSupabaseProject |
RequireSuperuser(), RequirePlugin(db, "supabase") |
POST |
/api/supabase/projects/:slug/:action |
supabaseProjectAction |
RequireSuperuser(), RequirePlugin(db, "supabase") |
GET |
/api/supabase/projects/:slug/logs |
supabaseProjectLogs |
RequireSuperuser(), RequirePlugin(db, "supabase") |
GET |
/api/supabase/projects/:slug/services |
supabaseProjectServices |
RequireSuperuser(), RequirePlugin(db, "supabase") |
GET |
/api/supabase/status |
supabaseStatus |
RequireSuperuser(), RequirePlugin(db, "supabase") |
The plugin builds on the Docker Manager plugin. Enabling supabase runs installSupabasePrereqs, which installs the Docker engine, marks the docker plugin enabled in the plugins table, installs the Docker Compose plugin if docker compose is missing, and creates the base directory /srv/supabase (mode 0750).
Anything that can take more than a few seconds runs in the background: the first start of a project pulls roughly 2.5 GB of images and a restart cycles ten containers. Those handlers mark the project starting, answer 202 Accepted, and the UI polls GET /api/supabase/projects until the status settles. A per-project in-memory lock keeps two lifecycle operations from overlapping; a project holding the lock reports busy: true and further lifecycle calls get 409 busy.
Source¶
Handlers for this section live in api/routes/handlers_*.go in the StarkOne source. Each handler binds its request body with gin.ShouldBindJSON(&req) and responds with the standard envelope:
On error:
Reference¶
GET /api/supabase/projects¶
Lists every project, oldest first (ORDER BY id), each with its live Compose state folded in. Generated secrets are never included here: the Secrets field is tagged json:"-", so keys and passwords only surface through GET /api/supabase/projects/:slug.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Response - 200 OK
{
"data": [
{
"id": 1,
"slug": "acme-app",
"name": "Acme App",
"api_port": 8000,
"db_port": 5433,
"public_url": "https://supabase.example.com",
"status": "running",
"last_error": "",
"options": { "functions": true, "email_autoconfirm": true },
"created_at": "2026-09-02 10:04:11",
"updated_at": "2026-09-02 10:12:47",
"live": { "state": "running", "running": 10, "total": 10 },
"busy": false
}
]
}
status is the panel's last recorded intent: creating, starting, running, stopped or error. live is the truth from Compose, summarised into one word: running (every service up and none unhealthy), starting (all up, at least one still health-checking), degraded (some down, or an unhealthy service), stopped (none up) or unknown (no services, or the status could not be read). A project still in creating is not probed at all and reports live.state: "unknown". db_port is 0 when Postgres is not published. busy is true while a lifecycle operation holds the project's lock.
Errors
| Status | Code | Meaning |
|---|---|---|
500 |
db_error |
The supabase_projects table could not be queried. |
A failing docker compose ps is not an error: that project simply keeps live.state: "unknown".
Example
POST /api/supabase/projects¶
Provisions a project and starts it in the background. The handler validates the host first, allocates ports, generates the project's secret set, inserts the row with status creating and writes the project directory, then answers 202 Accepted while a goroutine opens the firewall ports and runs docker compose up -d. The first start pulls roughly 2.5 GB of images, so expect minutes, not seconds; poll GET /api/supabase/projects until status leaves starting.
Ports are allocated by scanning for the first port that no project row claims and nothing on the host is listening on: from 8000 upwards for the API gateway, and from 5433 upwards for Postgres when expose_db is set (5432 is usually a host Postgres). Each search covers 500 ports.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Request body
{
"name": "string (required)",
"slug": "string (optional)",
"public_url": "string (optional)",
"dashboard_user": "string (optional)",
"expose_db": "bool (optional)",
"functions": "bool (optional)",
"email_autoconfirm": "bool (optional)"
}
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | Display name, 1 to 60 characters after trimming. Also becomes Studio's default project name and the SMTP sender name. |
slug |
string | no | Project identifier, used as the directory name, the Compose project suffix (supabase-<slug>) and a DNS label. Must match ^[a-z][a-z0-9-]{1,30}$, so 2 to 31 characters, lowercase letters, digits and dashes, starting with a letter. Derived from name when omitted ("My App 2" becomes my-app-2). |
public_url |
string | no | The URL clients and Studio will use. Must start with http:// or https://; a trailing slash is stripped. Defaults to http://<server IP>:<allocated API port>. |
dashboard_user |
string | no | Username for the Studio basic-auth login. Must match ^[a-zA-Z0-9_.-]{2,32}$. Defaults to supabase. The password is always generated. |
expose_db |
bool | no | Publish Postgres on a second host port so external clients can connect directly. Defaults to false, in which case the database is reachable only from inside the project's network. |
functions |
bool | no | Run the Edge Functions runtime (Deno). Defaults to true. Turning it off saves a container and roughly 300 MB of image, but Studio's Functions page then shows an error. |
email_autoconfirm |
bool | no | Let email sign-ups complete without a confirmation mail. Defaults to true, which is the sensible setting until SMTP is configured, since the rendered .env ships a deliberately invalid SMTP host. |
functions and email_autoconfirm are bound as pointers, so omitting them or sending null keeps the default of true; only an explicit false turns them off.
Response - 202 Accepted
{
"data": {
"id": 2,
"slug": "acme-app",
"name": "Acme App",
"api_port": 8000,
"db_port": 5433,
"public_url": "http://203.0.113.10:8000",
"status": "creating",
"last_error": "",
"options": { "functions": true, "email_autoconfirm": true },
"created_at": "2026-09-02 10:04:11",
"updated_at": "2026-09-02 10:04:11",
"live": { "state": "unknown", "running": 0, "total": 0 },
"busy": true
}
}
The body is the same project view the list endpoint returns, captured before the containers exist. It carries no secrets: fetch GET /api/supabase/projects/:slug once the project is up to read the keys and the dashboard password.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The body could not be parsed. |
400 |
create_failed |
name was empty or longer than 60 characters, the slug failed validation, a project with that slug already exists, BaseDir/<slug> already exists on disk, dashboard_user failed validation, public_url did not start with http:// or https://, no free port was found, or the row could not be saved. The message names the specific problem. |
412 |
requirements |
The host is not ready. The response carries an extra problems array alongside message. |
A 412 body looks like this:
{
"error": {
"code": "requirements",
"message": "The Docker engine is not running.",
"problems": ["The Docker engine is not running."]
}
}
Blocking problems are: Docker not installed, the Docker engine not running, the Docker Compose plugin missing, less than 1536 MB of available memory, or less than 5 GB and 10 percent free on the filesystem holding BaseDir. A total memory below 4096 MB is only a warning and does not block creation.
Side effects
- Creates the project directory
BaseDir/<slug>/withvolumes/db/data,volumes/storage,volumes/snippets,volumes/api/envoy,volumes/functions/mainandvolumes/pooler(mode0750), unpacks the embedded upstream assets intovolumes/, and writes the rendereddocker-compose.yml(mode0640) and.env(mode0600). If provisioning fails, the row and the directory are both removed again. - Generates the project's secrets: the Postgres password, the JWT secret (48 characters, since PostgREST requires at least 32), the
anonandservice_roleAPI keys as HS256 JWTs signed with that secret and valid for ten years, the dashboard password, Realtime'sSECRET_KEY_BASEand DB encryption key, the Vault and pg-meta crypto keys, and the S3 protocol key pair. They are written into.env, stored on the project row, and never rotated by the panel. - Opens the API port, and the database port when
expose_dbis set, in whichever firewall the host runs. With CSF every port goes into a singleTCP_INrewrite, deliberately: a CSF reload runscsfpost.sh, which restarts the Docker daemon when its chains are gone, and two reloads seconds apart trip systemd's start-rate limit and leave Docker down. - Waits up to 2 minutes for the Docker daemon to answer (
docker info), clearing astart-limit-hitfailure withsystemctl reset-failed dockerand starting it again if systemd has given up. - Runs
docker compose up -d --remove-orphanswith a 40 minute timeout, then sets the status torunning, or toerrorwith the last 12 lines of Compose output inlast_error. - On failure, sends a critical notification to root ("Supabase project failed to start"), deduplicated per project by the key
supabase-start-<slug>.
Example
curl -X POST https://panel.example.com:2087/api/supabase/projects \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Acme App", "slug": "acme-app", "expose_db": true, "public_url": "https://supabase.example.com"}'
DELETE /api/supabase/projects/:slug¶
Removes the project's containers and network and deletes its row. With ?purge=1 the named volumes and the whole project directory go too, database and uploaded files included; without it the directory stays under BaseDir/<slug> for manual recovery, so the data survives even though the panel forgets the project.
Unlike the other lifecycle calls this one runs synchronously and answers 200 OK only when the teardown is done. It still takes the per-project lock, so a delete during a start or restart is refused.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
Query parameters
| Name | Type | Optional | Description |
|---|---|---|---|
purge |
string | yes | Exactly 1 also removes the named volumes and deletes BaseDir/<slug> recursively. Any other value, or the parameter's absence, keeps the data. |
Response - 200 OK
dir is reported whether or not it was removed, so the operator knows where the data was left when purged is false.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation. |
404 |
not_found |
No project with that slug. |
409 |
busy |
Another operation is still running on this project. |
500 |
db_error |
The project row could not be read, or could not be deleted after a successful teardown. |
500 |
delete_failed |
docker compose down failed, or the directory could not be removed. The project's status is set to error and the row is kept. |
Side effects
- Runs
docker compose down --remove-orphans(plus-vwhen purging) with a 10 minute timeout, but only whenBaseDir/<slug>/docker-compose.ymlstill exists, so a half-provisioned project can still be deleted. - When purging, removes the project directory recursively. The path is re-checked first: anything not under
BaseDir, or a slug that does not validate, is refused rather than deleted. - Closes the project's API port, and its database port when one was published, in the host firewall (a single CSF
TCP_INrewrite, orfirewall-cmd, orufw). - Deletes the row from
supabase_projects.
Example
curl -X DELETE "https://panel.example.com:2087/api/supabase/projects/acme-app?purge=1" \
-H "Authorization: Bearer $TOKEN"
GET /api/supabase/projects/:slug¶
Returns one project with its live service list, the directory it lives in, and everything a developer needs to connect. This is the only endpoint that returns the project's secrets, which is why the whole group is superuser-only.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
Response - 200 OK
{
"data": {
"project": {
"id": 1,
"slug": "acme-app",
"name": "Acme App",
"api_port": 8000,
"db_port": 5433,
"public_url": "https://supabase.example.com",
"status": "running",
"last_error": "",
"options": { "functions": true, "email_autoconfirm": true },
"created_at": "2026-09-02 10:04:11",
"updated_at": "2026-09-02 10:12:47",
"live": { "state": "running", "running": 10, "total": 10 },
"busy": false
},
"services": [
{
"name": "db",
"label": "Database (Postgres 17)",
"state": "running",
"health": "healthy",
"status": "Up 8 minutes (healthy)"
},
{
"name": "api-gw",
"label": "API gateway (Envoy)",
"state": "running",
"health": "healthy",
"status": "Up 7 minutes (healthy)"
}
],
"connection": {
"api_url": "https://supabase.example.com",
"studio_url": "https://supabase.example.com/",
"anon_key": "eyJhbGci...",
"service_role_key": "eyJhbGci...",
"jwt_secret": "<48-character generated secret>",
"dashboard_user": "supabase",
"dashboard_password": "<24-character generated password>",
"db_exposed": true,
"db_host": "203.0.113.10",
"db_port": 5433,
"db_user": "postgres",
"db_password": "<32-character generated password>",
"db_name": "postgres",
"db_url": "postgresql://postgres:<password>@203.0.113.10:5433/postgres"
},
"dir": "/srv/supabase/acme-app"
}
}
services is ordered db, api-gw, auth, rest, realtime, storage, imgproxy, meta, functions, studio, with functions omitted when the option is off. A service the project should have but that does not exist yet, because it was never started or was removed, is reported with state: "missing". health is empty for services without a healthcheck. services is an empty array while the project is still creating, or when docker compose ps fails.
Everything in connection is generated at creation time and never rotated by the panel. anon_key and service_role_key are HS256 JWTs signed with jwt_secret, carrying iss: supabase and a ten year expiry; anon_key is the public client key and service_role_key bypasses row-level security, so it must stay server-side. dashboard_user and dashboard_password are the basic-auth credentials Envoy demands before it serves Studio at /. The same values live in BaseDir/<slug>/.env (mode 0600) on the host.
The database fields are only populated when the project publishes Postgres: with db_exposed: false, db_host, db_port, db_user, db_name and db_url are omitted entirely and only db_password remains, since the password is still needed inside the network.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation. |
404 |
not_found |
No project with that slug. |
500 |
db_error |
The project row could not be read. |
Example
curl https://panel.example.com:2087/api/supabase/projects/acme-app \
-H "Authorization: Bearer $TOKEN"
PUT /api/supabase/projects/:slug¶
Rewrites the project's configuration and brings it back up in the background. The row is updated, the project directory is re-provisioned (assets, docker-compose.yml and .env are rewritten from the stored secrets, data directories are left alone), and then docker compose up -d recreates exactly the containers whose configuration changed. Compose decides which those are, so switching Edge Functions off removes one container and leaves the other nine running.
The body is a patch, not a full definition: every field is a pointer, and an omitted field keeps its current value. Only name, public_url, functions and email_autoconfirm can be changed. The slug, the allocated ports, whether Postgres is published, and the generated secrets are fixed for the life of the project.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
Request body
{
"name": "string (optional)",
"public_url": "string (optional)",
"functions": "bool (optional)",
"email_autoconfirm": "bool (optional)"
}
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | no | New display name, 1 to 60 characters after trimming. |
public_url |
string | no | New public URL. Trimmed of whitespace and trailing slashes, and must start with http:// or https://. It is written into Studio, Auth (API_EXTERNAL_URL, SITE_URL) and Storage, so changing it after clients are pointed at the old one breaks redirects. |
functions |
bool | no | Turn the Edge Functions runtime on or off. Off drops the functions service from the rendered compose file. |
email_autoconfirm |
bool | no | Turn email auto-confirmation on or off. |
Response - 202 Accepted
{
"data": {
"id": 1,
"slug": "acme-app",
"name": "Acme App",
"api_port": 8000,
"db_port": 5433,
"public_url": "https://supabase.example.com",
"status": "running",
"last_error": "",
"options": { "functions": false, "email_autoconfirm": true },
"created_at": "2026-09-02 10:04:11",
"updated_at": "2026-09-02 11:31:02",
"live": { "state": "running", "running": 10, "total": 10 },
"busy": true
}
}
The view is rendered as the background job starts, so status and live still describe the old containers. Poll GET /api/supabase/projects until status leaves starting.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation, the body could not be parsed, name was empty or longer than 60 characters, or public_url did not start with http:// or https://. |
404 |
not_found |
No project with that slug. |
409 |
busy |
Another operation is still running on this project. |
500 |
db_error |
The project row could not be read or could not be updated. |
500 |
provision_failed |
The project directory could not be rewritten. The row already carries the new values at this point, so the config on disk and the row have diverged; fixing the cause and repeating the call re-renders it. |
Side effects
- Updates
name,public_url,optionsandupdated_aton the project row. - Re-runs provisioning: re-extracts the embedded assets into
BaseDir/<slug>/volumes/, and rewritesdocker-compose.yml(mode0640) and.env(mode0600). Config is overwritten, data never is. - In the background, sets the status to
startingand runsdocker compose up -d --remove-orphans, then setsrunningorerror. The firewall is not touched, since the ports do not change. - On failure, sends the same critical root notification as a failed creation.
Example
curl -X PUT https://panel.example.com:2087/api/supabase/projects/acme-app \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "Acme App", "public_url": "https://supabase.example.com", "functions": false}'
POST /api/supabase/projects/:slug/:action¶
Runs one lifecycle action against a project's whole Compose stack. The action is restricted to a fixed allow-list and mapped to a docker compose subcommand. Every action runs in the background behind the per-project lock and answers 202 Accepted immediately.
| Action | What it runs | Timeout | Status on success |
|---|---|---|---|
start |
docker compose start |
10 minutes | running |
stop |
docker compose stop |
5 minutes | stopped |
restart |
docker compose restart |
10 minutes | running |
up |
docker compose up -d --remove-orphans |
40 minutes | running |
pull |
docker compose pull, then up -d --remove-orphans |
40 minutes each | running |
start only starts containers that already exist; up creates any that are missing and applies the current compose file, which is what recovers a project whose containers were removed by hand. pull is a no-op unless the panel's pinned image tags changed in a release: the tags are fixed as a set taken from one upstream commit, because bumping one service on its own is how self-hosted installs end up with a Studio that cannot talk to its own database.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
action |
string | One of start, stop, restart, up, pull. Anything else is rejected. |
logs and services are registered under the same prefix but only for GET, so a POST to either reaches this handler and is rejected as an unknown action.
Response - 202 Accepted
stop answers with stopping instead:
Both are the accepted-and-queued acknowledgement, not the outcome. The project's real status is written when the background job finishes; poll GET /api/supabase/projects.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation, or action was not one of start, stop, restart, up, pull. The message quotes the rejected action. |
404 |
not_found |
No project with that slug. |
409 |
busy |
Another operation is still running on this project. |
500 |
db_error |
The project row could not be read. |
A failure of the Compose command itself cannot be reported here, since the response has already been sent. It lands on the project row as status: "error" with the last 12 lines of Compose output in last_error.
Side effects
- For every action except
stop, sets the status tostartingfirst, then runs the command and setsrunningorerror. A failure also sends a critical notification to root, deduplicated bysupabase-start-<slug>. - For
stop, setsstoppedon success orerroron failure, and sends no notification. - Compose is invoked with a scrubbed environment (
PATH,HOME,LANGonly). This is deliberate: Compose interpolates${VAR}from the caller's environment before the--env-file, and the panel's own environment carries aJWT_SECRET, so without the scrub a project's keys were silently signed with the panel's secret. - Firewall rules are never changed by these actions.
Example
curl -X POST https://panel.example.com:2087/api/supabase/projects/acme-app/restart \
-H "Authorization: Bearer $TOKEN"
GET /api/supabase/projects/:slug/logs¶
Tails the project's Compose logs as one string, either interleaved across all services or narrowed to one. Output is fetched with --no-color, so it is plain text with Compose's service-1 | prefixes intact.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
Query parameters
| Name | Type | Optional | Description |
|---|---|---|---|
tail |
int | yes | Number of trailing lines per service. Defaults to 200. Non-numeric values, or values below 1 or above 5000, fall back to 200. |
service |
string | yes | Limit the output to one service. Must be one of db, api-gw, auth, rest, realtime, storage, imgproxy, meta, functions, studio. Omit or leave empty for every service at once. |
Response - 200 OK
{ "data": { "logs": "db-1 | 2026-09-02 10:05:11.402 UTC [1] LOG: database system is ready to accept connections\n" } }
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation. |
400 |
logs_failed |
service was not one of the known service names, or docker compose logs failed, for example because the project directory is gone or the 30 second timeout expired. The message carries the last 12 lines of Compose output. |
404 |
not_found |
No project with that slug. |
500 |
db_error |
The project row could not be read. |
Side effects
- Runs
docker compose logs --no-color --tail <n> [service]in the project directory, with a 30 second timeout. Nothing is written.
Example
curl "https://panel.example.com:2087/api/supabase/projects/acme-app/logs?service=auth&tail=500" \
-H "Authorization: Bearer $TOKEN"
GET /api/supabase/projects/:slug/services¶
Lists the project's services with their live Compose state, in display order. This is the same array GET /api/supabase/projects/:slug embeds, without the project row or the connection details, for the panel's per-service refresh.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Path parameters
| Name | Type | Description |
|---|---|---|
slug |
string | Project slug. Must match ^[a-z][a-z0-9-]{1,30}$. |
Response - 200 OK
{
"data": [
{ "name": "db", "label": "Database (Postgres 17)", "state": "running", "health": "healthy", "status": "Up 8 minutes (healthy)" },
{ "name": "api-gw", "label": "API gateway (Envoy)", "state": "running", "health": "healthy", "status": "Up 7 minutes (healthy)" },
{ "name": "auth", "label": "Auth (GoTrue)", "state": "running", "health": "healthy", "status": "Up 7 minutes (healthy)" },
{ "name": "rest", "label": "REST API (PostgREST)", "state": "running", "health": "healthy", "status": "Up 7 minutes (healthy)" },
{ "name": "realtime", "label": "Realtime", "state": "running", "health": "starting", "status": "Up 20 seconds (health: starting)" },
{ "name": "storage", "label": "Storage", "state": "running", "health": "healthy", "status": "Up 7 minutes (healthy)" },
{ "name": "imgproxy", "label": "Image transforms", "state": "running", "health": "healthy", "status": "Up 7 minutes (healthy)" },
{ "name": "meta", "label": "Postgres Meta", "state": "running", "health": "", "status": "Up 7 minutes" },
{ "name": "functions", "label": "Edge Functions", "state": "missing", "health": "", "status": "" },
{ "name": "studio", "label": "Studio (dashboard)", "state": "running", "health": "healthy", "status": "Up 8 minutes (healthy)" }
]
}
The order is fixed: db, api-gw, auth, rest, realtime, storage, imgproxy, meta, functions, studio. functions is left out entirely when the option is off. state is Compose's own word (running, exited, created and so on), or missing for a service that the project should have but that no container exists for. health is healthy, unhealthy, starting, or empty for a service with no healthcheck (meta is the one such service). status is Compose's human string.
Errors
| Status | Code | Meaning |
|---|---|---|
400 |
bad_request |
The slug failed validation. |
404 |
not_found |
No project with that slug. |
500 |
compose_failed |
docker compose ps failed, for example with the engine down or the project directory missing. |
500 |
db_error |
The project row could not be read. |
Side effects
- Runs
docker compose ps -a --format jsonin the project directory, with a 30 second timeout. Both output shapes Compose has used are parsed: one JSON object per line, and a single JSON array.
Example
curl https://panel.example.com:2087/api/supabase/projects/acme-app/services \
-H "Authorization: Bearer $TOKEN"
GET /api/supabase/status¶
Reports whether the host can run Supabase at all, which images the plugin pins, and where projects live. This is what the Supabase page polls to decide between showing the project list and showing what needs fixing first. The same requirement check gates POST /api/supabase/projects, so a requirements failure on creation can be diagnosed here.
Guards: RequireSuperuser(), RequirePlugin(db, "supabase")
Response - 200 OK
{
"data": {
"requirements": {
"docker_installed": true,
"docker_running": true,
"compose_version": "v2.29.7",
"mem_total_mb": 16384,
"mem_available_mb": 11240,
"disk_free_gb": 214.7,
"disk_free_pct": 61.3,
"problems": [],
"warnings": []
},
"images": {
"studio": "supabase/studio:2026.08.03-sha-022b374",
"envoy": "envoyproxy/envoy:v1.39.0",
"auth": "supabase/gotrue:v2.189.0",
"rest": "postgrest/postgrest:v14.12",
"realtime": "supabase/realtime:v2.102.3",
"storage": "supabase/storage-api:v1.60.4",
"imgproxy": "darthsim/imgproxy:v3.30.1",
"meta": "supabase/postgres-meta:v0.96.6",
"functions": "supabase/edge-runtime:v1.74.0",
"db": "supabase/postgres:17.6.1.136"
},
"upstream": "supabase/supabase@90f59aebbc3b (2026-09-02)",
"projects": 2,
"base_dir": "/srv/supabase",
"server_ip": "203.0.113.10"
}
}
problems block project creation; warnings are shown but do not block. The blocking checks are: Docker not installed, the engine not running, docker compose version failing, less than 1536 MB available memory, or less than 5 GB and 10 percent free on the filesystem that holds base_dir. The one warning is a host with less than 4096 MB total memory, where a single project will run but a second one is likely to be too much. Both arrays are always present, empty when there is nothing to report.
images is the pinned set, taken together from the upstream commit named in upstream; it is compiled into the binary, not read from the host. projects is the row count in supabase_projects. server_ip is the first address from hostname -I, falling back to 127.0.0.1, and is what a project's default public URL and direct database host are built from.
Errors
This endpoint does not return error responses. Every underlying check degrades to a zero value or a problems entry rather than an error status; missing information simply produces no finding.
Example