Closed lmdc45 closed 3 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
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)
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)