I’m currently trying to deploy a GraphQL service I built with Prisma, graphql-yoga, and MongoDB. I setup the Docker images and everything, but I have an issue with launching all the services in the right order so everything runs smoothly. I want the MongoDB server up first, then the Prisma server, and then the web app. I made a stackoverflow post about it, but haven’t gotten any helpful responses yet. I was wondering if anyone has suggestions. I have been stuck on this issue for a while and can’t move on without fixing it.
PRISMA, MONGODB, DOCKER “REQUEST TO HTTP://LOCALHOST:4466/ FAILED, REASON: CONNECT ECONNREFUSED 127.0.0.1:4466”
mongodb, docker, docker-compose, prisma
From what I understand and what others have been saying is that the Prisma server which usually runs on localhost on my local computer does not work with Docker because there’s an internal Docker IP that it should be connected to. However, I haven’t had any luck with finding solutions to the issue.