You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no possibility to assign additional exposed ports to container. For example, we want to run some specific server.lua script under tarantool container and this script activates metrics module and exposes them at specific port. On test side we want to check metrics by http, but we have only one port for client connection.
So, we need methods for adding other exposed/mapped ports.
The text was updated successfully, but these errors were encountered:
@bitgorbovsky
We can just open ports by addExposedPorts method before container starting. Like this:
// tarantoolContainer = new TarantoolContainer...
...
tarantoolContainer.addExposedPort(8081);
...
// and we may obtain mapped port after container startingtarantoolContainer.getMappedPort(8081);
There is no possibility to assign additional exposed ports to container. For example, we want to run some specific server.lua script under tarantool container and this script activates metrics module and exposes them at specific port. On test side we want to check metrics by http, but we have only one port for client connection.
So, we need methods for adding other exposed/mapped ports.
The text was updated successfully, but these errors were encountered: