Skip to content

nicholasoxford/SupaFly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SupaFly

This easiest way to deploy Supabase to Fly.io

Features

  • Uses new Fly.io Apps v2 platform
  • Uses Fly's private networking

    Applications within the same organization are assigned special addresses ("6PN addresses") tied to the organization. Those applications can talk to each other because of those 6PN addresses, but applications from other organizations can't; the Fly platform won't forward between different 6PN networks.

  • Turborepo to make it easy to build off of

Prerequisites

Run the following command:

  • Fly.io CLI tool installed
  • Wireguard installed
  • Add card to Fly.io account / organazation

Install flyctl, or the Fly.io CLI tool

brew install flyctl

We recommend creating a new organization for your SupaFly project

If you don't pass in a value for --org it will default to your personal organization

Deploying SupaFly

npx supafly@latest

PNG image

Infrastructure Deployed

Things to work on

  • Supabase Storage Deployment
  • Postgrest alpine image
  • issues persisting data with database redeployments
  • Pass in passwords for postgres roles
  • Better name generation for Supabase services

SupaFly Progress Tracker

How I created this

  • Got inspired by @kiwicopple reddit comment about deploying Supabase DB to Fly
  • Took the Supabase docker-compose file and created fly services for each

About

The easiest way to deploy Supabase to Fly.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published