Closed Bondza closed 8 years ago
Hi,
Please create a test for this :)
Sure, I've added another test to make sure it is possible to set the address option :)
@Bondza This is something I am needing but I am unable to get diagnostics in a docker container even with these changes. What are you setting address to to get this to work?
@rizowski I configured tv
like this:
{
register: require('tv'),
options: {
address: '0.0.0.0',
host: 'docker',
port: 45000
}
},
I'm running docker on OS X, so I added docker
as a hostname to /etc/hosts
with the ip to the vm. If docker is not running inside a vm then localhost should work.
Allow setting the
address
connection option fortv
, listed in the connectionoptions. This is required if you would like to runtv
inside a Docker container without allowing it to use the host network.