"Open Download Folder" troubles when running Deluge in a container
Posted: Thu Apr 04, 2024 12:24 am
I setup deluge using the container from linuxserver.io, and connected to it using the GTK client. Everything works as it should, except for the "Open download folder" option, because it tries to open the path mapped inside the container, and not the path on my host machine. I'm not sure what to do in this situation. It seems like a bind mount would help because it preserves the original path from the host system. However, the docker documentation discourages using bind mounts in favor of volumes. My compose.yaml:
services:
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
environment:
- PUID=1000
- PGID=1000
- TZ=America/Denver
- DELUGE_LOGLEVEL=error #optional
volumes:
- ./config:/config
- /8tb/deluge/data:/downloads
- /8tb/deluge/torrents:/torrents
- /8tb/deluge/watch:/watch
ports:
- 8112:8112
- 6881:6881
- 6881:6881/udp
- 58846:58846 #optional
restart: unless-stopped
services:
deluge:
image: lscr.io/linuxserver/deluge:latest
container_name: deluge
environment:
- PUID=1000
- PGID=1000
- TZ=America/Denver
- DELUGE_LOGLEVEL=error #optional
volumes:
- ./config:/config
- /8tb/deluge/data:/downloads
- /8tb/deluge/torrents:/torrents
- /8tb/deluge/watch:/watch
ports:
- 8112:8112
- 6881:6881
- 6881:6881/udp
- 58846:58846 #optional
restart: unless-stopped