Closed percona-csalguero closed 3 months ago
Implemented in v0.1.6
added expose subcmd (currently docker-image is not supporting it), it works as docker run -p option PORT (random host port selected), HOSTPORT:PORT (select a specific port). For example after running anydbver deploy ps:latest,expose=3306
, anydbver list
shows the port and you can connect with mysql client from the local machine.
In order to be able to connect to the different nodes from outside the vagrant box, it would be useful to expose/forward the ports used by each node. For example, if I start a 3 nodes PS cluster, anydbver reports this:
The IP addresses 10.56.52.xxx cannot be accessed from a test running in my localhost. It would be useful to be able to forward, for example, 10.56.52.62:3306 to the vagrant box and being able to connect to MySQL from the outside