> For the complete documentation index, see [llms.txt](https://homelab.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://homelab.4pfsec.com/self-hosted-services/deluge.md).

# Deluge

## About

Instead of needing an endpoint client (Laptop, phone) to be turned on while a torrent downloads, I leverage Deluge's BitTorrent Client and torrent on my server which runs 24/7. This not only saves space on my endpoint device, it also means that I don't have to be online while the download is going! I can just access Deluge via the web UI, execute the download and come back when its done!

![](/files/HZgr01dx0TO3rRNwNM0c)

## Docker-Compose

```
version: "2.1"
services:
  deluge:
    image: lscr.io/linuxserver/deluge
    container_name: deluge
    environment:
      - PUID=0
      - PGID=0
      - TZ=Asia/Singapore
      - DELUGE_LOGLEVEL=error #optional
    volumes:
      - /root/home_lab/deluge/config/:/config
      - /root/wd_nas/movies/Downloads/:/downloads
    ports:
      - 8112:8112
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped
```
