2 years ago
Project ID: be3f2db8-13c1-4dfb-b758-fbaace10701c
I noticed that my app was communicating to the database via the proxy and not the private network. I thought it was configured to use the latter, but I noticed a deploy 10 days ago (not mine, I didn't deploy in months).
After reconfiguring the env vars and changing both database and service to runtime v2 and US Oregon region, my app doesn't deploy (because the prisma migrate job in the build time fails to connect)
7 Replies
2 years ago
hello,
the private network is not yet available during build.
for now, you would want to move the migrate command from the build command into the start command.
pnpm run start -> pnpm prisma migrate deploy && pnpm run start
2 years ago
come back? it worked before because you connect to the database via the public network
2 years ago
Private network access during build is currently in beta and not officially supported. It’s on the team’s radar though!
That's what I was talking about. I thought it was working. Thank you for you time, happy new year!

2 years ago
happy new year!
2 years ago
!s
Status changed to Solved adam • over 1 year ago