forked from supabase/supabase
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bbe6ac9
commit 3d94a82
Showing
4 changed files
with
99 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Supabase Docker | ||
|
||
This is a minimal Docker Compose setup for self-hosting Supabase. Follow the steps [here](https://supabase.io/docs/guides/self-hosting) to get started. | ||
This is a minimal Docker Compose setup for self-hosting Supabase. Follow the steps [here](https://supabase.io/docs/guides/hosting/docker) to get started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## For use with the VS Code Extension "REST Client" | ||
## https://marketplace.visualstudio.com/items?itemName=humao.rest-client | ||
|
||
### [PostgREST] 401 Unauthorized: No API key found in request | ||
GET http://localhost:8000/rest/v1/ HTTP/1.1 | ||
Content-Type: application/json | ||
|
||
### [PostgREST] 200 OK: anon key for PostgREST | ||
GET http://localhost:8000/rest/v1/ HTTP/1.1 | ||
Content-Type: application/json | ||
apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY | ||
|
||
### [postgres-meta] 403 Forbidden: anon key not allowed | ||
GET http://localhost:8000/pg/tables HTTP/1.1 | ||
content-type: application/json | ||
apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYyNzIwODU0MCwiZXhwIjoxOTc0MzYzNzQwfQ.zcaQfHd3VA7XgJmdGfmV86OLVJT9s2MTmSy-e69BpUY | ||
|
||
|
||
### [postgres-meta] 200 OK: Service key is allowed | ||
GET http://localhost:8000/pg/tables HTTP/1.1 | ||
content-type: application/json | ||
apikey: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaWF0IjoxNjI3MjA4NTQwLCJleHAiOjE5NzQzNjM3NDB9.pkT3PNpO4DtO45Ac5HK_TKCx8sGLgNtV__pr_ZrRSAU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters