8 months ago
I get this when I setup a supabase template. I don't know how to a configure this variable. I also think this is needed for my connection string in vscode. Please any help would be appreciated
I just need to know how to configure the DATABASE_URL and talk to a nextjs app in the same project.
Thank you.
3 Replies
8 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Database URL not work
- 🧵 Hard time with migrating prisma
- 🧵 Environment Variables Silently Dropped/Not Injected
If you find the answer from one of these, please let us know by solving the thread!
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Database URL not work](https://station.railway.com/questions/database-url-not-work-3adb3c42) - [🧵 Hard time with migrating prisma](https://station.railway.com/questions/hard-time-with-migrating-prisma-95ad9f6f) - [🧵 Environment Variables Silently Dropped/Not Injected](https://station.railway.com/questions/environment-variables-silently-dropped-n-d1ccca97) If you find the answer from one of these, please let us know by solving the thread!
8 months ago
No, it doesn't answer the supabase specific question. Sorry
uzochiapa
No, it doesn't answer the supabase specific question. Sorry
8 months ago
You can create a variable with the name DATABASE_URL and set it's value to postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:${PGPORT}/${{PGDATABASE}} .
That should work 🙂