PlqnK / docker-home-services-host

My personal home services host config.
BSD 3-Clause "New" or "Revised" License
43 stars 6 forks source link

Decouple Transmission & OpenVPN #16

Closed PlqnK closed 4 years ago

PlqnK commented 4 years ago

Up until now I was using the transmission-openvpn image from haugene which is pretty nice. It combines both so that you don't have to worry about networking, you just give it your VPN provider name and credentials and it will configure the tunnel and transmission to use it automatically.

But I wanted more freedom. If I want to use Wireguard down the line I just can't with this container. If I want to change my BitTorrent client same problem. And if I want to change both of those things at the same time, good luck finding an already made image that matches both criteria and is up to date.

Also I didn't like the fact that with the transmission-openvpn image you're required to configure entirely using ENV variables. It added 100 lines to my compose file.

So I decided to decouple the functionality, have one container for Transmission and one container for OpenVPN. It's pretty easy to do thanks to deperson's fantastic openvpn-client image and the ability from docker to let a container use another container network stack.