DEV Community

Connect to MongoDB on Dokku with your local command line or Robo3T

Hugo Di Francesco on December 31, 2018

The Dokku mongo plugin provides a mongo:connect command, which opens a tunnelled connection to you MongoDB instance on Dokku. This is how you can c...
Collapse
 
codestuff2 profile image
Adam Whitlock

I also really like using dokku for creating databases and other services. It is so easy and I feel like I have a bit more control over my services and how they connect to my apps. Have you set up ssl certs on a dokku based box?
Thanks for writing!

Collapse
 
hugo__df profile image
Hugo Di Francesco

For your web apps, you can use the letsencrypt plugin

Haven't found a clean way to do "expose"-ed port SSL.

I think there should be a way to connect through the SSH tunnel.

Collapse
 
codestuff2 profile image
Adam Whitlock

Right on, yea I figured Lets Encrypt would be the best option for a standard web app. Thanks and happy new year!