Gluetun sets out to be exactly what I need, a simple method to route a few docker containers (for which there is not a version of the container that includes a VPN) through a wireguard VPN and still allow local hosts to access. However, I find that with my config (which certainly could be improved), Gluetun bounces at least weekly. When it does, the containers that use it have to be restarted.
So what other relatively easy solutions are there to try that may work more reliably?
I found gluetun (setup with protonvpn via Docker Compose) took quite a lot of memory around 300 MB RAM, and that’s why I wish to find a more lightweight solution.
I followed this tutorial https://www.youtube.com/watch?v=znSu_FuKFW0 to get it running on Unraid some of the steps may be different for you since you are doing it in bare docker-compose, but the Unraid template maps up to a docker run command.
Though this video does not cover the credentials part. Privoxy is VERY strict with the connections, so if you have not configured the VPN correctly (by placing the right openvpn credentials file in the right folder) then it will just not work. Double check the logs for that container.
Don’t know if I can help without more info. Perhaps one of these links can help?