#/bin/bash

docker run -d \
  --name mongodb \
  --restart unless-stopped \
  -e MONGO_INITDB_ROOT_USERNAME=root \
  -e MONGO_INITDB_ROOT_PASSWORD=frx8us2w \
  -e MONGO_INITDB_DATABASE=turnosxpress \
  -v $(pwd)/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro \
  -p 20215:27017 \
  mongo:4.2.14