You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/app/supabase.md
+30-14Lines changed: 30 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,30 +11,44 @@ Pigsty can help you deploy enterprise-grade Supabase on your own servers (physic
11
11
12
12
> Pigsty is one of three self-hosting approaches listed on the Supabase official documentation: [Self-hosting: Third-Party Guides](https://supabase.com/docs/guides/self-hosting#third-party-guides)
13
13
14
+
This tutorial requires basic Linux knowledge. Otherwise, consider using Supabase cloud or plain Docker Compose self-hosting.
15
+
14
16
15
17
--------
16
18
17
19
## TL;DR
18
20
19
-
[Prepare](/docs/deploy/prepare) a [**Linux**](/docs/deploy/prepare) server, follow the Pigsty [standard installation](/docs/setup/install) process with the `supabase`configuration template:
21
+
[Prepare](/docs/deploy/prepare) a [**Linux server**](/docs/deploy/prepare), follow the Pigsty [**standard single-node installation**](/docs/setup/install) process with the `supabase`config template:
./configure -c supabase # Use supabase config (change credentials in pigsty.yml)
117
131
vi pigsty.yml # Edit domain, passwords, keys...
118
132
./deploy.yml # Install Pigsty
119
-
./docker.yml # Install Docker Compose components
133
+
./docker.yml # Install Docker module
120
134
./app.yml # Start Supabase stateless components with Docker
121
135
```
122
136
@@ -184,12 +198,14 @@ These are Pigsty component passwords. Strongly recommended to set before install
184
198
185
199
Besides Pigsty component passwords, you need to [change Supabase keys](https://supabase.com/docs/guides/self-hosting/docker#securing-your-services), including:
-[`DASHBOARD_USERNAME`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L136): Supabase Studio web UI default username, default `supabase`
192
-
-[`DASHBOARD_PASSWORD`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L137): Supabase Studio web UI default password, default `pigsty`
201
+
-[`JWT_SECRET`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L135): JWT signing key, at least 32 characters
202
+
-[`ANON_KEY`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L136): Anonymous user JWT credential
203
+
-[`SERVICE_ROLE_KEY`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L137): Service role JWT credential
204
+
-[`PG_META_CRYPTO_KEY`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L138): PostgreSQL Meta service encryption key, at least 32 characters
205
+
-[`DASHBOARD_USERNAME`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L140): Supabase Studio web UI default username, default `supabase`
206
+
-[`DASHBOARD_PASSWORD`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L141): Supabase Studio web UI default password, default `pigsty`
207
+
-[`LOGFLARE_PUBLIC_ACCESS_TOKEN`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L144): Logflare public access token, 32-64 random characters
208
+
-[`LOGFLARE_PRIVATE_ACCESS_TOKEN`](https://github.com/pgsty/pigsty/blob/main/conf/supabase.yml#L145): Logflare private access token, 32-64 random characters
193
209
194
210
Please follow the [Supabase tutorial: Securing your services](https://supabase.com/docs/guides/self-hosting/docker#generate-api-keys):
0 commit comments