This repo provides an example of setting up MongoDB with Express and Docker Compose to be used as for local development. Please don't use this in production.
- Clone the repository.
- Run
pnpm install. - Ensure that
$HOME/tmp/datadirexists. - Copy the
.env.exampleto.env - Run
docker-compose up.
This will bring up the mongodb and server services and corresponding containers.
To stop the running containers run docker-compose down.