Rosario Borgesi
PPrisma
•Created by Rosario Borgesi on 12/27/2024 in #help-and-questions
Prisma Mongodb & Express Res API Docker
Hi Nurul,
thank you for your quick reply! I successfully managed to run this docker-compose:
https://github.com/prisma/prisma-examples/blob/latest/databases/mongodb/docker-compose.yml
And the REST API worked perfectly when I made it start from the terminal as a node application.
I was thinking to create a docker-compose that would encompass the mongodb plus the REST API to use in production but since you are talking about testing maybe the best thing to do is to just create a docker compose with the REST API only and then connect this docker image to a mongo DB hosted on Atlas. What do you think?
5 replies