Service with host network_mode

Service with host network_mode

If you want to run a service in network_mode: host, TSDProxy will not detect any port mapping. You need to specify a port in the tsdproxy.container_port option.

Add a label to your service

In your service, add the following label, with the port you want to use in the container:

labels:
  tsdproxy.container_port: 8080

Restart your service

After you restart your service, you should be able to access it using the port you specified in the label.

Last updated on