-
Hey, all. I've been running Deluge through a SOCKS5 proxy and trackers would randomly disconnect me, which was driving me nuts. I found this Reddit post which directed me towards Gluetun, which works like a charm! I originally followed the docker-compose of that comment pretty much verbatim, swapping in my own containers for theirs. I could see that Deluge was working through the proxy... but for some reason, Sonarr/Radarr weren't connecting to Deluge properly anymore. They always failed with I put them all under the same network, which didn't solve the issue -- and on top of that, I couldn't connect to Sonarr/Radarr via http anymore from my web browser (http://192.168.86.222:8989 would give ERR_CONNECTION_REFUSED)! When these containers are outside the gluetun network, everything is fine... which makes me think that there's some setting blocking them? I'm not sure how to fix it. I'm also not sure why the Deluge web UI would work, but not the Sonarr/Radarr web UIs. Here's my docker-compose: services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
network_mode: bridge
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8000:8000/tcp # Built-in HTTP control server
- 9117:9117 # Jackett
- 6060:8080 # sabnzbd
- 9090:9090 # sabnzbd
- 8112:8112 # Deluge
- 6881:6881/tcp # Deluge
- 6881:6881/udp # Deluge
- 8090:8090 # Mylarr
- 8686:8686 # Lidarr
- 7878:7878 # Radarr
- 8989:8989 # Sonarr
volumes:
- /share/Container/config/gluetun:/gluetun
environment:
- PUID=0
- PGID=0
- VPNSP=nordvpn
- OPENVPN_USER=<secret>
- OPENVPN_PASSWORD=<secret>
- TZ=America/Los_Angeles
restart: always
deluge:
image: linuxserver/deluge
container_name: deluge
restart: always
network_mode: "service:gluetun"
environment:
- PUID=0
- PGID=0
- TZ=America/Los_Angeles
volumes:
- /share/Container/config/deluge/config:/config
- /share/Container/config/deluge/incomplete:/incomplete
- /share/Download:/downloads
- /share/Public/Comics/Downloaded:/comics
mem_limit: 3g
memswap_limit: 3g
cpus: '1.0'
oom_kill_disable: true
sabnzbd:
image: ghcr.io/linuxserver/sabnzbd
container_name: sabnzbd
environment:
- PUID=0
- PGID=0
- TZ=America/Los_Angeles
volumes:
- /share/Container/config/sabnzbd:/config
- /share/Download:/downloads
network_mode: "service:gluetun"
restart: unless-stopped
jackett:
image: ghcr.io/linuxserver/jackett
container_name: jackett
environment:
- PUID=0
- PGID=0
- TZ=America/Los_Angeles
- AUTO_UPDATE=true
volumes:
- /share/Container/config/jackett:/config
- /share/Download/torrents:/downloads
network_mode: "service:gluetun"
depends_on:
- gluetun
- deluge
restart: unless-stopped
mylar3:
image: linuxserver/mylar3
container_name: mylarr
environment:
- PUID=0
- PGID=0
volumes:
- /share/Container/config/mylarr:/config
- /share/Public/Comics:/comics
- /share/Download:/downloads
depends_on:
- deluge
- sabnzbd
- jackett
restart: unless-stopped
lidarr:
image: linuxserver/lidarr
container_name: lidarr
environment:
- PUID=0
- PGID=0
- TZ=America/Los_Angeles
volumes:
- /share/Container/config/lidarr:/config
- /share/Music:/music
- /share/Download:/downloads
depends_on:
- deluge
- sabnzbd
- jackett
restart: unless-stopped
radarr:
image: linuxserver/radarr
container_name: radarr
volumes:
- /share/Container/config/radarr:/config
- /share/Videos/Movies:/movies
- /share/Download:/downloads
depends_on:
- deluge
- sabnzbd
- jackett
restart: unless-stopped
environment:
- PUID=0
- PGID=0
sonarr:
image: linuxserver/sonarr
container_name: sonarr
volumes:
- /share/Container/config/sonarr:/config
- /share/Container/config/docker-mp4-automator/tv:/tv
- /share/Videos/Shorts:/shorts
- /share/Videos/Anime:/anime
- /share/Download:/downloads
depends_on:
- deluge
- sabnzbd
- jackett
restart: unless-stopped
environment:
- PUID=0
- PGID=0 Obviously I can fix the issues with not being able to access Sonarr/Radarr by going back to my old way of doing things (having them separate from the Gluetun network)... but that doesn't solve the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
...And it mysteriously disappeared? After putting everything on the same network and changing Sonarr/Radarr/etc. to 127.0.0.1, everything magically started to work. I always hate seeing these answers elsewhere, but for me just "turning it off and on again" with the above docker-compose seemed to work fine. |
Beta Was this translation helpful? Give feedback.
-
I am trying to do the same thing as you, but Radarr/ Sonarr can’t see jackett. How did you get around this issue? When I try to add the port for jackett as an indexer on either of them, it says that it can’t connect. When I change the IP to 127.0.0.1 and put jackett’s port on there, it instantly fails. |
Beta Was this translation helpful? Give feedback.
...And it mysteriously disappeared? After putting everything on the same network and changing Sonarr/Radarr/etc. to 127.0.0.1, everything magically started to work.
I always hate seeing these answers elsewhere, but for me just "turning it off and on again" with the above docker-compose seemed to work fine.