Project

General

Profile

How am I able to access 9981 from a docker container

Added by Paul Barnett over 2 years ago

Hi all Running TVHeadend on a VPS, but have a Wireguard based mesh VPN that's running within a docker container.

I need to be able to forward port 9981 from my host machine to my Netmaker mesh VPN that's running within docker, and I am pulling my hair out here trying to get this sorted.

Is anyone please able to advise me. I know this isn't a TVheadend issue per se, but someone may still be able to offer advice.

I was advised to add this to my docker-compose file, but in all honesty am getting nowhere
- PORT_FORWARD_SERVICES="127.0.0.1:9981:9981"

Anyone please able to point me in the right path.

Thanks