Supabase (Studio, DB, Auth)

4 months ago

Description: Supabase without Functions, Realtime, Logflare and Storage (Read Overview)

Category: Storage

URL: https://railway.com/template/XODgpH

18 Replies

stockotacoPRO

4 months ago

Thank you for the template.

Does this also support using Supabase as a vector store?


4 months ago

Yes, it should support using Supabase as a vector store. You'll need to enable the Postgres extension in settings. There may be some features/APIs in the client SDKs that rely on the realtime service, and those will not be compatible yet, but the core vector store should work fine.


nikoPRO

3 months ago

Hello !
Thanks I'm actually testing it and it works perfect !

I would like to know if you could add Minio as a storage solution ? I've deployed it also on my environement and it seems adding these variables may help, but I'm not sure on witch .env I should add this or if it would be enough. I guess it won't popup into Supabase admin panel, but for me it's more to have something easier to play with Supabase JS.

# Active le backend S3

STORAGE_BACKEND=s3

# Identifiants d’accès à Minio

STORAGE_REGION=us-east-1

STORAGE_ENDPOINT=http://votre-minio:9000 # <- L’endpoint complet vers votre service Minio

STORAGE_ACCESS_KEY_ID=minio

STORAGE_SECRET_ACCESS_KEY=minio-secret

STORAGE_FORCE_PATH_STYLE=true # souvent nécessaire pour Minio

Thanks for your help !


17 days ago

Hello! I'm trying to install Supabase with this template. Thanks a lot!

I guess I'm having trouble with the variables : In the Supabase Studio service, we are prompted to add a variable for "IMPORTANT_READ_ME", I don't really know what is right to input.

Also, I'm having trouble knowing which is the correct GOTRUE_SITE_URL.

Appart from that, I managed to create JWT, anon and service key.

Any chance you can help me with these?

thanks for your help !


joyeuxnocode

Hello! I'm trying to install Supabase with this template. Thanks a lot!I guess I'm having trouble with the variables : In the Supabase Studio service, we are prompted to add a variable for "IMPORTANT_READ_ME", I don't really know what is right to input.Also, I'm having trouble knowing which is the correct GOTRUE_SITE_URL.Appart from that, I managed to create JWT, anon and service key.Any chance you can help me with these?thanks for your help !

17 days ago

IMPORTANT_READ_ME can be anything. The reason it's there is so people can figure out how to obtain the JWT keys because there's no easy way to do it natively in Railway; If you read the entire description you'll see that it instructs you to type "yes" or something similar. If you want to use Supabase Auth, you need to set GOTRUE_SITE_URL to whatever URL your website is hosted at. If you don't know what to put there, you can just use the example value in the description (`http://localhost:3000`).


17 days ago

Thanks a lot for your quick answer. So I tried several times but it does not seems to work.

I deploy your template, and the 7 services seem to work.

I want to access Supabase Studio, to setup my app. So I select Supabase Studio Service, I generate a domain.

But when I access the generated URL, I always get a 502 Bad Gateway error.

Any idea where that might come from?

(On Supabase self-hosting page, I generated and pasted JWT, Anon and Service Key. on IMPORTANT_READ_ME, I inputed "yes" and for GoTrue I added http://localhost:3000.)

Attachments


joyeuxnocode

Thanks a lot for your quick answer. So I tried several times but it does not seems to work.I deploy your template, and the 7 services seem to work.I want to access Supabase Studio, to setup my app. So I select Supabase Studio Service, I generate a domain.But when I access the generated URL, I always get a 502 Bad Gateway error.Any idea where that might come from?(On Supabase self-hosting page, I generated and pasted JWT, Anon and Service Key. on IMPORTANT_READ_ME, I inputed "yes" and for GoTrue I added http://localhost:3000.)

17 days ago

You do not access Supabase Studio through the service. Use the domain in the Kang service (that's already generated for you).


17 days ago

Thankssss a lot! Now I see it works. By any chance, was it written somewhere I missed?

Thanks anyway!


16 days ago

Hi again!

I'm now trying to set Auth on. I would need to send verification mails, reset password mails, and have the control over my authentification process.

So now seem to be the right time to change the GoTrue URL from https://local.host/3000 to my app URL.

I already published my app project to this URL, that is live: https://5456b655-6a61-4cc8-9ccf-a8ce420f38ac.weweb-preview.io/

So the base URL should be : https://weweb-preview.io/.

But I often find the same error message : "Failed to delete user: API error happened while trying to communicate with the server." (See the screenshot).

Or should I input the Kong URL, already generated for me in the GoTrue Service ?

I'm sorry to be such a noob, I hope your answers will help future noobs like me

Attachments


nikoPRO

10 days ago

Hello,

Is there any timeline for S3 integration now with Railway ? What is the issue with that as https://github.com/supabase/storage# is available ?

Thanks for any feedback !


nikoPRO

7 days ago

Hello,

I understand that it can't be done for S3 as it can't share containers in Railway.

But I now have an other issue as I'm trying to integrate Supavisor, and it fails to connect for the transaction pooler (port 6543)

It looks like an issue in IPv6 (???)

Did you test this by any chance ? Or might be planned to be integrated at some point ?

Thanks !


joyeuxnocode

Hi again!I'm now trying to set Auth on. I would need to send verification mails, reset password mails, and have the control over my authentification process.So now seem to be the right time to change the GoTrue URL from https://local.host/3000 to my app URL.I already published my app project to this URL, that is live: https://5456b655-6a61-4cc8-9ccf-a8ce420f38ac.weweb-preview.io/So the base URL should be : https://weweb-preview.io/.But I often find the same error message : "Failed to delete user: API error happened while trying to communicate with the server." (See the screenshot).Or should I input the Kong URL, already generated for me in the GoTrue Service ?I'm sorry to be such a noob, I hope your answers will help future noobs like me

7 days ago

Your base URL is the full domain (e.x. https://sub.exanple.com) including the subdomains but not the path.


niko

Hello,I understand that it can't be done for S3 as it can't share containers in Railway.But I now have an other issue as I'm trying to integrate Supavisor, and it fails to connect for the transaction pooler (port 6543)It looks like an issue in IPv6 (???)Did you test this by any chance ? Or might be planned to be integrated at some point ?Thanks !

7 days ago

The rest of the Supabase stack is unfortunately omitted because of upstream support issues with Railway, not because I didn't want to implement it. This includes the pooler as mentioned as well as storage.


six

The rest of the Supabase stack is unfortunately omitted because of upstream support issues with Railway, not because I didn't want to implement it. This includes the pooler as mentioned as well as storage.

nikoPRO

6 days ago

Thanks for your reply.(and for this super cool template !)

I understand for the bucket and the way it works with Railway, but I’m not sure for supavisor.

Support pointed an issue from supavisor on handling IP v6.

Do you have infos to share about supavisor and how it can’t be used on railway ? (Witch is really inconvient for us 🫣)

Thanks a lot !


niko

Thanks for your reply.(and for this super cool template !)I understand for the bucket and the way it works with Railway, but I’m not sure for supavisor.Support pointed an issue from supavisor on handling IP v6.Do you have infos to share about supavisor and how it can’t be used on railway ? (Witch is really inconvient for us 🫣)Thanks a lot !

6 days ago

Yes, Supavisor does not handle IPv6 properly and as a result is not in the template yet. Logflare has the same issue as well. Storage doesn't work as discussed prior.


nikoPRO

2 days ago

Hello Six !

I'm checking the different versions used in this template and wondering if you are planning a little update soon ? I'll test by changing each docker individually on a test instance, and can let you know the results, or is there a better way to proceed ?

Thanks !


niko

Hello Six !I'm checking the different versions used in this template and wondering if you are planning a little update soon ? I'll test by changing each docker individually on a test instance, and can let you know the results, or is there a better way to proceed ?Thanks !

2 days ago

I update the containers when I can to match the Supabase self hosting versions in their repository.


six

I update the containers when I can to match the Supabase self hosting versions in their repository.

nikoPRO

2 days ago

ok ! just to let you know, I've tested (not very extensively, but seems all good at the moment with:

ghcr.io/6ixfalls/supabase-postgres:15.8.1.060

supabase/gotrue:v2.171.0

supabase/postgres-meta:v0.88.9

supabase/studio:2025.04.21-sha-173cc56

postgrest/postgrest:v12.2.11

supabase/realtime:v2.34.47 (here the 2.34.51 just crashed)