i would like to test my code locally, so I need Mo...
# mongodb
p
i would like to test my code locally, so I need MongoDB in docker. I saw that you also have it for tests (https://github.com/prisma/prisma/blob/main/docker/docker-compose.yml), any chance it will be published to dockerhub so everybody else will be able to use it as well?
d
I don't know why that pipeline isn't using the engine images, but we use the following: •
prismagraphql/mongo-single-replica:4.2.17-bionic
prismagraphql/mongo-single-replica:4.4.3-bionic
prismagraphql/mongo-single-replica:5.0.3
Those are on dockerhub. If you're on M1 you'll need to add the env var
INIT_WAIT_SEC: <time in seconds>
with a value of at least 10 to make it boot.
We're not providing official public support for the above, mind you.
p
having no support is still better than maintaining docker image file by myself 🙂
prismagraphql/mongo-single-replica:5.0.3
worked fine, thank you!