-
Is this urgent?Yes Host OSUbuntu 20.04 CPU archx86_64 VPN service providerMullvad What are you using to run the containerdocker-compose What is the version of GluetunRunning version latest built on 2021-11-18T22:14:55.625Z (commit 3ca674d) What's the problem 🤔I am trying to make Deluge (bittorrent client) connect through gluetun. Note: ports:
- 8112:8112
- 6881:6881
- 6881:6881/udp was originally under the deluge service, but I moved them to under gluetun because it said conflicting options. Now when I try to connect to myip:8112, it says the site cannot be reached Share your logs
Share your configurationgluetun:
container_name: gluetun
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
environment:
- VPNSP=mullvad
- OPENVPN_USER=xxxxxxxxxxxxxxxx
- VPN_TYPE=openvpn
- CITY=New York NY
ports:
- 8112:8112
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
deluge:
image: lscr.io/linuxserver/deluge
container_name: deluge
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- DELUGE_LOGLEVEL=error #optional
volumes:
- /path/to/deluge/config:/config
- /path/to/your/downloads:/downloads
restart: unless-stopped
network_mode: "service:gluetun" |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I added depends_on:
- gluetun to the end and now it works perfectly. My final docker_compose.yml: gluetun:
container_name: gluetun
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
environment:
- VPNSP=mullvad
- OPENVPN_USER=xxxxxxxxxxxxxxxx
- VPN_TYPE=openvpn
- CITY=New York NY
ports:
- 8112:8112
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
deluge:
image: lscr.io/linuxserver/deluge
container_name: deluge
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- DELUGE_LOGLEVEL=error #optional
volumes:
- /path/to/deluge/config:/config
- /path/to/your/downloads:/downloads
restart: unless-stopped
network_mode: "service:gluetun"
depends_on:
- gluetun |
Beta Was this translation helpful? Give feedback.
-
Hello! Are you sure that's |
Beta Was this translation helpful? Give feedback.
-
Converting this to a discussion since this is a configuration issue, not a bug, |
Beta Was this translation helpful? Give feedback.
-
I was working on my docker containers late at night yesterday, and apparently I deleted everything or something (I can't remember a thing). I just reinstalled docker, removed depends_on, and it works fine now. |
Beta Was this translation helpful? Give feedback.
Hello!
Are you sure that's
depends_on
that solved it? What Docker version are you running? I never usedepends_on
,network_mode: "service:gluetun"
is enough for me. Maybe trydocker-compose down
, remove thedepends_on
and re-launch withdocker-compose up -d
to check if it then doesn't work again? 🤔