Prisma and nextjs app with pg url

From your example, it deploys both: a postgres container and a nodejs container, but to be able to create de nodejs, you need to have the postgres url. So basically the question here is how can i do the same for my personal projects, so that I can reference the db in the same deployment as they did.
3 Replies
Percy
Percy•2y ago
Project ID: 09b078b8-c327-40fc-b6df-4b9916836013
🇩🇴gmcamposano
09b078b8-c327-40fc-b6df-4b9916836013
caxco93
caxco93•2y ago
You could probably solve that problem by reading the DATABASE_URL from a local .env file