MongoDB configuration at Platform.sh
Otavio Santana
How the replica set works at Platform.sh?
How to do a query on a MongoDB database using a UI client such as MongoDB Compass?
0
Comments
To connect to MongoDB, or any other service, from your local system, first open an SSH tunnel using the
platform tunnel:opencommand. That will establish a secure connection to your environment from your local computer and expose local ports you can connect to.You can then enter the credentials into your local tool, be it MongoDB Compass or otherwise. The host will be
localhost, the port will be one of the30xxxports reported bytunnel:open, and the user and password can be obtained by runningplatform relationships.See the documentation for more details.
Please sign in to leave a comment.