Here's my goal: Run sabnzbd and deluge containers through an openvpn container. I know that there are some "bundled" images out there for things like deluge+openvpn, but I'd prefer not to have separate vpn connections for each container since the number of connections are limited by my vpn provider.
This works to create the openvpn container:
docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --name vpn -v /etc/openvpn/client:/vpn -d dperson/openvpn-client -f ""
This appears to work to create the deluge container:
docker run -d --name=deluge --net=container:vpn -e PUID=1000 -e PGID=1000 -v /root/deluge/downloads:/downloads -v /root/deluge/config:/config linuxserver/deluge
And this is where I'm probably getting hung up:
docker run -it --name web -p 8112:8112 -e SSI=y --link vpn:deluge -d dperson/nginx -w "http://deluge:8112/;/deluge/"
Most of the examples I've seen indicate that I should use -p 80:80, but I can't do that because OMV is already using port 80. So I just figured that I would use port 8112 instead, and hit the page with http://<OMV IP>:8112, but I get nothing at all.
Any ideas? I've already spent around 12 hours trying to get this working.
Thanks!