Supabase

Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, Storage, and Vector embeddings.

Software Included

Package Version License
Supabase studio 0.23.06 Apache 2
Kong 2.8.1 Apache 2
Supabase auth 2.62.1 MIT
Postgre 11.1 MIT
Realtime 2.10.1 Apache 2
Storage 0.40.4 Apache 2
Postgres Meta 0.66.3 Apache 2
PostgreSQL 15.1.0.90 Postgre

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the Supabase 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Supabase Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "supabase"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying Supabase

Please wait about 10 minutes after droplet is created, docker containers initialisation requires some time. After ssh is enabled droplet is ready to use.

On your first SSH login to the droplet or launch of the Droplet console of your Supabase Droplet 1-Click, you will be greeted by a Supabase setup script.

The first step is to enter your domain name. Make sure that your domain is pointing to the new droplet IP.

The DNS Host may be the same company you registered the domain with or another entity you designate. To connect your DNS hosting to DigitalOcean, check out this guide.

Once your A record is set up, you are ready to enter your domain in the script.

Next, the script will ask your email.

The script will configure HTTPS automatically for your droplet. We highly recommend setting HTTPS since using a domain is useless without it.

Supabase will be available in a few minutes after. For accessing the supabase in your browser, use https://%YOUR_DOMAIN%.

If you cancel entering domain, you can retry after next login. Before domain setup is complete, supabase application is accessible by IP - https://%DROPLET_IP%

Supabase login and password are located in /srv/supabase/supabase/docker/.env file, last two lines. Login into droplet using ssh and check login & password

Getting started with Supabase

Supabase documentation is great, spend some time to check out - https://supabase.com/docs, you can start from https://supabase.com/docs/guides/getting-started

Protect your Supabase data with SnapShooter

SnapShooter, an offering from DigitalOcean, offers comprehensive backup solutions for all your cloud resources, including your Supabase application data. To access SnapShooter, navigate to the left-hand navigation menu in your DigitalOcean cloud console. As part of the free tier, you can back up a single resource, such as your Supabase application data.

To back up your Supabase application, start by installing the SnapShooter add-on to your DigitalOcean account. Next, do a single sign-on to access the SnapShooter console, where you can add a target storage solution, such as Spaces, and create a new backup job. From there, select your Supabase application as the recipe, and choose your preferred backup policy. Follow our step-by-step video or blog tutorial to get this working today.

With SnapShooter, you can restore your Supabase application and its data to another server, whether it’s within DigitalOcean or another location, in case of a disaster or migration. Keep in mind that your Spaces/S3 usage will incur charges from your cloud provider.

Protect your Supabase data with SnapShooter’s reliable and straightforward backup solutions today.