Works on Ubuntu 20.04 but selecting the server is ignored. Using the below command after deleting wg0.conf (if that file exists you can't change your server it looks like)
docker run -d \
--privileged \
--cap-add=NET_ADMIN \
-p 8112:8112 \
-p 8118:8118 \
-p 58846:58846 \
-p 58946:58946 \
--name=delugevpn \
-v /apps/docker/deluge/data:/data \
-v /apps/docker/deluge/config:/config \
-v /etc/localtime:/etc/localtime:ro \
-v /mnt/sdb/Downloads:/home/nobody/Downloads \
-e VPN_CLIENT=wireguard \
-e VPN_REMOTE_SERVER=ca-montreal.privacy.network \
-e VPN_ENABLED=yes \
-e VPN_USER=myuser \
-e VPN_PASS=mypass \
-e VPN_PROV=pia \
-e STRICT_PORT_FORWARD=yes \
-e ENABLE_PRIVOXY=no \
-e LAN_NETWORK=192.168.0.0/23 \
-e NAME_SERVERS=209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1 \
-e DELUGE_DAEMON_LOG_LEVEL=info \
-e DELUGE_WEB_LOG_LEVEL=info \
-e DEBUG=false \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
--restart unless-stopped \
binhex/arch-delugevpn:test
Logs go like this:
2020-10-08 08:39:42.412235 [info] System information Linux f79174d728d3 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 x86_64 GNU/Linux
2020-10-08 08:39:42.436496 [info] OS_ARCH defined as 'x86-64'
2020-10-08 08:39:42.458943 [info] PUID defined as '0'
2020-10-08 08:39:43.112579 [info] PGID defined as '0'
2020-10-08 08:39:43.148871 [info] UMASK defined as '000'
2020-10-08 08:39:43.166674 [info] Permissions already set for volume mappings
2020-10-08 08:39:43.185016 [info] Deleting files in /tmp (non recursive)...
2020-10-08 08:39:43.206239 [info] VPN_ENABLED defined as 'yes'
2020-10-08 08:39:43.224847 [info] VPN_CLIENT defined as 'wireguard'
2020-10-08 08:39:43.242819 [info] VPN_PROV defined as 'pia'
2020-10-08 08:39:43.826871 [info] VPN_CONFIG not defined (wireguard config doesnt file exists), defaulting to '/config/wireguard/wg0.conf'
2020-10-08 08:39:43.847405 [info] VPN_REMOTE_SERVER not defined (wireguard config doesnt file exists), defaulting to 'nl-amsterdam.privacy.network'
2020-10-08 08:39:43.890349 [info] VPN_REMOTE_PORT not defined (wireguard config file doesnt exists), identified port as '1337'
2020-10-08 08:39:43.906302 [info] VPN_DEVICE_TYPE defined as 'wg0'
2020-10-08 08:39:43.923025 [info] VPN_REMOTE_PROTOCOL defined as 'udp'
2020-10-08 08:39:43.941149 [info] LAN_NETWORK defined as '192.168.0.0/23'
2020-10-08 08:39:43.959089 [info] NAME_SERVERS defined as '209.222.18.222,84.200.69.80,37.235.1.174,1.1.1.1,209.222.18.218,37.235.1.177,84.200.70.40,1.0.0.1'
2020-10-08 08:39:43.977797 [info] VPN_USER defined as 'whatever'
2020-10-08 08:39:43.996001 [info] VPN_PASS defined as 'whatever'
2020-10-08 08:39:44.013963 [info] STRICT_PORT_FORWARD defined as 'yes'
2020-10-08 08:39:44.031912 [info] ENABLE_PRIVOXY defined as 'no'
2020-10-08 08:39:44.049843 [info] ADDITIONAL_PORTS not defined (via -e ADDITIONAL_PORTS), skipping allow for custom incoming ports
2020-10-08 08:39:44.067947 [info] DELUGE_DAEMON_LOG_LEVEL defined as 'info'
2020-10-08 08:39:44.086106 [info] DELUGE_WEB_LOG_LEVEL defined as 'info'
2020-10-08 08:39:44.540769 [info] Starting Supervisor...