- Plesk Onyx for Linux
How to install MongoDB in Plesk?
Plesk does not support MongoDB database servers.
All supported Third-Party components can be found in Plesk Software Requirements .
Vote for implementing MongoDB support on our UserVoice .
Note: Local Docker service is not supported on Windows and CloudLinux. For more information refer to the Plesk Administrator's Guide .
Navigate to Plesk > Docker ;
mongoin the Docker catalog search field:
Click on Run button to automatically download and start MongoDB instance deployment:
Disable Automatic port mapping to manually map MongoDB instance to the localhost port:
Externalport is the port on which all connections to MongoDB will be served.
Map Docker container to the location on filesystem, to ensure that both the data and the configuration will persist:
- Add the variables MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD to be able to change root password:
Click Ok , so the Docker container is deployed and started:
Connect to the server via SSH ;
Verify that MongoDB is listening for incoming connections:
# ss -tlpn | grep 27017
LISTEN 0 128 :::27017 :::*
Verify that MongoDB is set-up and ready by connecting from the localhost by running mongo shell on the Plesk server:
MongoDB shell version: 2.6.10
connecting to: test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
Questions? Try the support group