saveweb / mongo_stwp_image

a configurable mogodb docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoDB Images

How to use this image

  • Build the image
docker build . -t mongo_stwp
  • Run the container docker compose up to initialize the container

  • Edit the ./etc/mongo/mongod.conf

  • If you want to use a keyfile, put it as ./etc/mongo/mongo.keyfile anytime, the container will set right permissions to it automatically. (Optional)

  • Run docker compose up

About

a configurable mogodb docker image


Languages

Language:Dockerfile 62.8%Language:Shell 37.2%