-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Self host Supabase service #2743
Self host Supabase service #2743
Conversation
6a656d7
to
4913215
Compare
Filed #2748 to fix the auth build |
Why do I have |
7df3bba
to
45958fd
Compare
Created #2752 to fix the naming of auth containers. |
45958fd
to
e00124f
Compare
Can you rebase to pick up the changes from #2752? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move supabase
out of src/api
and put it in docker/supabase
, since that's what it is (i.e., a bunch of docker and config files).
Next, let's modify https://github.com/Seneca-CDOT/telescope/blob/master/config/env.development#L13 so that it adds a third docker-compose file to our list:
COMPOSE_FILE=docker/docker-compose.yml;docker/development.yml;docker/supabase/docker-compose.yml
Next, let's move everything in supabase/env.example
to config/env.development
under a new Supabase
section. That is, let's merge the Supabase variables with ours.
Next, lets update all of the volumes
relative paths in the Supabase docker-compose files (there are two), so that it uses ./supabase/volumes
vs. ./volumes
. We'll have to confirm that I have this right, but basically, we need to use a relative path for the new location, which is the merged path (i.e., the first docker-compose.yml
we have in docker
).
We won't add any of this to staging or production yet, only for development and gitpod. That way we can iterate on it and secure things before we ship it to staging.
e00124f
to
2fd4031
Compare
@humphd works for me on Gitpod. |
8e682a2
to
4b4c830
Compare
4b4c830
to
94c565a
Compare
@manekenpix, could you also take a look, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping an eye on the open ports
ef6d2a8
to
114b235
Compare
Issue This PR Addresses
Part of #2555. This adds a Supbase self-hosted instance to Telescope.
Note: This pr also fixes the
SignUpPage
crash bug mentioned in #2676. @nguyenhung15913 , you can take a look atAuthProvider
here as a starting point of your PR.Type of Change
Description
Testing Supabase
Testing Supabase API in the auth service
BannerButtons
intelescope/src/web/src/components/BannerButtons.tsx
Lines 111 to 120 in 81775c4
/src/api/auth/src/middleware.js
, replace line 92 to 110telescope/src/api/auth/src/middleware.js
Lines 92 to 110 in 81775c4
with
Checklist