Expose a TCP port to the internet.
This will tunnel local port 7080 to port 10000 on the remote server.
docker run --rm -it --net=host -e REMOTE_PORT=10000 -e LOCAL_PORT=7080 -e LOCAL_HOST=localhost attensys/remote-tunnel:latest
Now the service is accessible at: http://tunnel.attensys.io:10000/
version: "2.1"
services:
gateway-api:
image: gateway-api
ports:
- 7080:7080
gateway-api-proxy:
image: attensys/remote-tunnel:latest
environment:
- LOCAL_HOST=gateway-api
- LOCAL_PORT=7080
- REMOTE_PORT=10000
docker run --rm -it --net=host -e REMOTE_PORT=10000 -e LOCAL_PORT=7080 -e LOCAL_HOST=localhost attensys/remote-tunnel:armhf
./release.sh
Content type
Image
Digest
Size
5.4 MB
Last updated
over 4 years ago
docker pull attensys/remote-tunnel