NextJS + Prisma + Docker | "can't reach db server"
I will supply all of my files in comments because of the character limit.
The first issue is that when I run my docker compose up, it generates the prisma client, then it runs npm build. On the build, it cannot connect to the database server (shown on the included image)
For context, I am using this as a reference: https://github.com/99lalo/nextjs-prisma-docker
The first issue is that when I run my docker compose up, it generates the prisma client, then it runs npm build. On the build, it cannot connect to the database server (shown on the included image)
For context, I am using this as a reference: https://github.com/99lalo/nextjs-prisma-docker
docker-compose.yml