# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://homelab.4pfsec.com/self-hosted-services/deluge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
