mirror of
https://github.com/supabase/supabase.git
synced 2026-06-23 12:57:50 +08:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
|
id: digitalocean
|
|
title: DigitalOcean
|
|
description: 'Host your own Realtime server'
|
|
---
|
|
|
|
## Create your droplet
|
|
|
|
Head over to our Digital Ocean marketplace [listing](https://marketplace.digitalocean.com/apps/supabase-postgres) and create your droplet. You are free to create one even at the most basic configuration. No restrictions for you here.
|
|
|
|
## Set up the password
|
|
|
|
Set up the password for the DB Superuser **postgres**.
|
|
|
|
SSH into your instance using the user **root** and type in the following once you are in:
|
|
|
|
```
|
|
$ sudo -u postgres psql
|
|
```
|
|
|
|
This logs you into the **psql** terminal as the DB Superuser **postgres**.
|
|
|
|

|
|
|
|
Set your password with this command:
|
|
|
|
```
|
|
$ \password
|
|
```
|
|
|
|
Enter your desired password afterward and re-enter it when prompted. Once done, you can now exit your SSH connection.
|
|
|
|
## Try out your new database
|
|
|
|
With any SQL client of your choice (Such as [DBeaver](https://dbeaver.io/)), connect to your database with the following credentials:
|
|
|
|
- Host: **_insert droplet ip address_**
|
|
- Port: **5432**
|
|
- User: **postgres**
|
|
- Password: **_insert your chosen password_**
|
|
- Database: **postgres**
|