Menu

1 / 5

Self-Host Supabase with Docker: Studio, API Keys and Errors

DEV Community: docker·DeployLark·about 20 hours ago
#OiIP1IEl
#devtodocker#devto#dev#supabase#auth
Reading 0:00
15s threshold

Supabase is an open source backend built on Postgres. It bundles a database, Auth, an auto-generated REST API, Storage, Realtime and Edge Functions, with Studio as the web dashboard. The supabase/supabase repository had about 113,000 GitHub stars on October 22, 2026, and the supabase/postgres image had passed 19 million pulls on Docker Hub.

This guide installs the official self-hosted release v0.8.3 with Docker Compose, generates the keys the official way, creates a table in Studio and reads it over the REST API with the anon key. It then covers the errors that usually come next: 401 from the gateway, PGRST301 , an empty [] from Row Level Security, Storage upload errors and signups that never finish.

TL;DR:

Clone the self-hosted/v0.8.3 tag, copy docker/ to a project folder, run sh utils/generate-keys.sh --update-env and sh utils/add-new-auth-keys.sh --update-env , then docker compose up -d --wait . All 11 containers reported healthy in 37 seconds.

Studio and every API sit behind one gateway on port 8000.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.