@usdocker/mongodb

1.0.8 • Public • Published

Useful script for 'mongodb' service

This Useful Script creates a mongodb server based on a Docker Image. You don't have know docker to use this solution.

Installing

npm install -g @usdocker/usdocker # Install it first
npm install -g @usdocker/mongodb
usdocker -r    # Update USDocker database

Start the mongodb service

usdocker mongodb up

Stop the mongodb service

usdocker mongodb down

Check the mongodb status

usdocker mongodb status

Connect to the MongoDB client

usdocker mongodb client -- [args]

Customize your service

You can setup the variables by using:

usdocker mongodb --set variable=value

Default values

  • image: "mongo:3",
  • folder: "$HOME/.usdocker/data/mongodb",
  • port: 27017

Readme

Keywords

Package Sidebar

Install

npm i @usdocker/mongodb

Weekly Downloads

1

Version

1.0.8

License

MIT

Last publish

Collaborators

  • byjg