Skip to content

mallgroup/mal-mongster

Repository files navigation

Build Status

logo

Mongster

Now you can easily connect your nodes with Mongo DB into one cluster within the control panel. Imagine all of the options you get:

  • Control Panel for clusters with simple UI.
  • Replica sets within a few clicks.
  • Adding primary, secondary, or arbiter server as well.
  • Increase/decrease priority, enable/disable voting on the Mongo.
  • Restart Docker container.
  • Create a database, manage users.

We believe that security is essential.

  • So, every password or SSH key is also encrypted.
  • It is entirely up to you where you store application data.

Prerequisities

You need

  • GIT (to be able to download this repository),
  • TAR (for backups on the node),
  • Docker to run all required images.
  • Docker Compose to run all containers at once.

Docker containers with Docker Compose

Create a .env file

Copy .env.example file to .env file. You can leave default variables. No need for change.

Run containers

Run containers with Docker Compose on background:

docker-compose down && docker-compose up -d

Admin panel appears on URL http:https://localhost:8080. However it might take a minute or two.

Database

The database data directory is placed in the root of this project in the mongodb_data folder.

Changing volumes

You can change the path Mongo uses to share persistent data. Open docker-compose.yml file and replace the part with volumes - ./mongodb_data - with a path of your choice:

volumes:
  - ./mongodb_data:/data/db

Local development

You also might be interested in local development. We'll appreciate any code that makes this product just better.

Testing


FAQ

We recommend to visit FAQ page.


Sponsors

License

License

This project is licensed under the MIT license - see the LICENSE.md file for details.