dokku / dokku-mongo

a mongo plugin for dokku
MIT License
174 stars 32 forks source link

Readme clarification on port expose for loopback binding #128

Closed lmdc45 closed 3 years ago

lmdc45 commented 4 years ago

I was looking at a way to expose port on the host being accessible from the host only.

Spend a bit of time finding that it can be done this way: dokku mongo:expose lolipop 127.0.0.1:27017 127.0.0.1:27018 127.0.0.1:27019 127.0.0.1:28017

Then I can access the host port though ssh tunnel directly.

Might be worth updating the readme to show that this is possible as well? (And not only possible to expose on 0.0.0.0)