- Mullvad needs a key and address space from one of the files you get from here. Input those into their respective fields in gluetun's environment variables. If you're not using Mullvad, follow any of the Provider guides on gluetun's wiki.
- Change any volume paths you want to be different. In the current setup the stack creates a directory per service for that service's configurations and then a single media directory for media storage.
- Set your PGID and PUID environment variables in any services that use them. This is used to ensure services can access the files they use.
Following respective services' setup guides will work for most cases, but these are some things to remember.
qBittorrent is not going to work over gluetun using IPv6. In qBittorrent's web UI settings, under the "Advanced" tab, change the "Optional IP address to bind to" setting to "All IPv4 addresses" (or another if you know what you're doing).
qBittorrent may also not work with μTP, depending on your VPN provider. If torrents refuse to find peers or have severe connection issues, try disabling it in the settings under "Connection". Right at the top, change "Peer connection protocol" to "TCP" instead of "TCP and μTP".
If you use default network configuration, using the external "stack-net" network, containers that need to interact with others will only be able to access each other if you use their hostname, not localhost. For example, when setting up Sonarr with Jackett, Sonarr will not be able to access Jackett on http://localhost:9117
, even if you can. It will only be able to access it at http://jackett:9117
.
For qBittorrent, this will be http://gluetun:8080
. qBittorrent uses the service network mode so it can run through the VPN gluetun provides, which means all interaction with it has to happen through gluetun. http://qbittorrent:8080
will not work.
I've been using docker compose up
. I'm running Docker Desktop with the WSL2 backend on Windows, and it works perfectly for me, but other systems might not have this.
To install compose
as a subcommand for docker
on other systems, check out this page from the docker documentation
or just use one of the following commands appropriate for your system.
apt install docker-compose-plugin
yum install docker-compose-plugin
zypper addrepo https://download.docker.com/linux/sles/docker-ce.repo
zypper install docker-compose-plugin
I have never heard of zypper. SUSE?
dnf-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf install docker-compose-plugin