Running percona-mongodb in a docker container, in plesk, running centos7

My company runs a centos 7 server which runs websites etc. We would like to add a 3 node cluster of percona-mongoDB. However the control panel for the server is Plesk, which only handles MariaDB natively, so Percona-mongodb has to run in a docker container. The problem is that I cannot even get a single instance of percona-mongodb to connect to Compass which I use to see if I can connect to the server. I am using HTTPS or SSL to connect to the server docker container containing the percona-mongodb instance but the connection string only wants to connect to port 27107 and not 443 which is the SSL port. Also will I have to run 3 containers for the 3 nodes of mongodb?

1 Like

Hello @alrox ,

thanks for bringing this up.

To help with port 443 - please provide more information regarding your deployment method and configuration. docker run or docker compose ?

Also will I have to run 3 containers for the 3 nodes of mongodb?

Yes, you need 3 containers.

1 Like