Supabase (self-hosted)
Database, sign-in and file storage for your app from open-source Supabase, on a PostgreSQL database Ghaym manages; Ghaym is not affiliated with Supabase.
All pages
| Name | Kind | Default size | A month in amman-1 |
|---|---|---|---|
supabase | Web service | Small | JOD 18.000 |
supabase-db | PostgreSQL database | Database 1GB | JOD 9.000 |
supabase-files-<suffix> | Bucket | JOD 0.100 per GB | |
| Total, before storage | JOD 27.000 |
The supabase service runs seven containers together, with one size and one address:
gateway: the entry. Every request goes through it.auth: sign-in and users.rest: a REST API for your tables.realtime: live updates.storage: files, kept in the template's bucket.meta: reads the database's structure for Studio.studio: the Supabase dashboard.
- Copy
SERVICE_ROLE_KEYandDASHBOARD_PASSWORDfrom the screen that shows after you apply. They don't show again. - The public key
ANON_KEYis insupabase's Variables, and you can read it any time. - Set
GOTRUE_SITE_URLinsupabase's Variables to your app's address, so users return to it after confirming their email. - Set
SUPABASE_PUBLIC_URLinsupabase's Variables to the service's public address, so email confirmation links point to it. - To change the mail server later, edit the
GOTRUE_SMTP_*Variables insupabase. - The database connection string's user is
ghaym. Supabase's guides saypostgres; on Ghaym, useghaym. - GraphQL is off at first. To turn it on, run
create extension pg_graphql;in Studio's SQL editor. - A Realtime digest newer than the template's may fail its migrations: they need a role the database withholds.
Open supabase's address in a browser. The username is supabase, and the password is DASHBOARD_PASSWORD.
To bring a self-hosted Supabase project's database, files and keys to Ghaym, follow Move from self-hosted Supabase.