Deploy Supabase on Northflank

Published 23rd November 2023

Supabase is an open source Firebase alternative. Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, Storage, and Vector embeddings.

Features

  • Database: every Supabase project is a full Postgres database, the world's most trusted relational database

  • Authentication: add user sign ups and logins, securing your data with Row Level Security

  • Edge Functions: easily write custom code without deploying or scaling servers

  • Storage: store, organise, and serve large files, from videos to images

  • Realtime: build multiplayer experiences with realtime data synchronisation

Stack

  • Postgres addon
  • MinIO addon
  • Kong proxy deployment
  • Supabase Studio deployment
  • Supabase Storage deployment
  • Supabase Realtime deployment
  • Supabase Meta deployment
  • Supabase Auth deployment
  • Supabase Functions deployment
  • Postgres deployment
  • 3 database migration jobs

Getting Started

You will need to provide API keys in the anon and service_role secrets, as well as a JWT.

  1. Create an account on Northflank.
  2. Click deploy Supabase now
  3. In the argument overrides section, create a new random secret (with a length of 256) by clicking the key button. Copy and paste it into the JWT_SECRET field.
  4. Use this tool to generate the tokens for your SUPABASE_SERVICE_KEY and SUPABASE_ANON_KEY using your JWT_SECRET
  5. Click deploy stack to save and run the Supabase template
  6. Select the Kong service when the template run has finished
  7. Open the code.run domain to access Supabase Studio. Use the generated DASHBOARD_USERNAME and DASHBOARD_PASSWORD found in the general secrets secret group in your project to log in.

You can now start using Supabase via Studio, and the Supabase API.

Share this template with your network