Been trying to make Linux more a part of my life and decided to switch my Plex server over from Windows 11 to Ubuntu.

After an embarrassingly long time I was able to get Plex, Docker, and Zurg all working as I want mostly using this guide

Now to the point, I would like add RDT to this. I am able to get RDT up and running and connected to Jackett and Sonarr but I am not able to get RDT to correctly download the files into the rclone mount.

My hope is that I can have my RealDebrid library connected via Zurg and my TorBox library connected via RDT both syncing with my Plex server.

Tldr; need help configuring RDT to integrate into current docker compose.

  • upstroke4448@lemmy.dbzer0.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 day ago

    I figured it out…

    Here is what I did (I am sure there are more efficient ways)

    1 - I left the I-am-PUID-0 setup how it is. What I mean is after I went through the guide and got it working I did not change anything to get RDT working.

    2 - I created a new docker-compose for RDT that uses the rclone mount from the I-am-PUID-0 guide. I did this because when I had them combined into one compose, RDT would work but Zurg did not. If I have them separated as different docker setups they both work.

    2a - Make sure you understand what the Download Path and Mapped Path are in RDT. The Download Path is the path inside the Docker container where files are downloaded. Whereas the Mapped path is the path on your host that is mapped to /data in the container.

    My docker compose for RDT is

    # version: "3.8"
    
    services:
      rdt-client:
        image: rogerfar/rdtclient
        container_name: rdtclient
        stdin_open: true # docker run -i
        tty: true        # docker run -t
        volumes:
          - /pd_zurg/mnt:/data  # Ensure this matches the pd_zurg mount
        environment:
          - RCLONE_UID=1000
          - RCLONE_GID=1000
          - TZ=America/New_York  # e.g., "America/New_York"
          - DOWNLOAD_DIR=/data/downloads  # Specify the download directory
        ports:
          - 6500:6500
        devices:
          - /dev/fuse:/dev/fuse:rwm
        cap_add:
          - SYS_ADMIN
        security_opt:
          - apparmor:unconfined
          - no-new-privileges
        restart: unless-stopped
    

    With this setup Zurg is grabbing anything I download from Real Debrid and adding it my Plex server. RDT via Sonarr is grabbing whatever shows I tell Sonarr to download via Torbox. All that has to be done is add the downloads folder as another library in Plex and voila.

    I am sure you could configure this to do more, I just wanted an option to grab shows on demand and make use of currently having two active debrid services. My use case is a bit odd and most likely not optimal for most but, hopefully this helps somebody.