-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update supabase.yaml with variables that enable Supabase external OAu… #2162
Conversation
Making Why it cannot be |
Correct we if I am wrong, but when you, for example, send password recovery from Supabase, GOTRUE_SITE_URL will be used as a redirect url that will be a part of recovery url. And in a case of SERVICE_FQDN_SUPABASEKONG it will just redirect to supabase instance instead of for example nextjs website. Maybe it is better to have something like this:
Thank you. |
@andrasbacsai Also a question not related to variables, but more to supabase. I guess it fails because it already created it and we need to check if it existed before creating. If yes, it should be healthy or excluded from healthcheck. I can try to create pr if you can suggest what should we do in this situation. |
It has been solved in the latest template versions: 1a7894b |
Closing this until I got feedback for the original issue. |
Thanks. I just tried to create a new version of supabase on latest version of coolify instance and --ignore-existing is not in docker compose file. Is there additional steps I need to do to get latest docker compose file or updating coolify should be enought? Thanks |
@andrasbacsai I see that a previous update for supabase also included update to templates/service-templates.json but not the one you referenced. |
It is a little bit complicated to enable Github or Google external logins w/o understanding the details of how Coolify and docker compose work. I added some variables that hopefully will help people understand how to enable these providers.
Also, normally the application or service you write sits on an url which is different from the one used by Supabase. In that case the authentication breaks because Supabase GoTrue (the auth provider) was pointing GOTRUE_SITE_URL to the Supabase service instead of the customer's application. So I fixed that and explained a bit.