We need three folders: one for the configuration, one for completed downloads, and one to “watch” for new .torrent files.

sudo mkdir -p /srv/docker-data/transmission #Similar to other, keep the docker config in one place
sudo mkdir -p /mnt/media/downloads/complete
sudo mkdir -p /mnt/media/downloads/watch
  • /complete is where finished files will go.

  • /watch is a folder you can drop .torrent files into, and Transmission will automatically add them.

Set the correct permission see similar section in Syncthing for more details

sudo chown -R 1000:1000 /srv/docker-data/transmission
sudo chown -R 1000:1000 /mnt/media/downloads

On the Portainer web UI add the following

version: "3.5"
services:
  transmission:
    image: lscr.io/linuxserver/transmission:latest
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC # You can change this to your timezone, e.g., "America/New_York"
    volumes:
      - /srv/docker-data/transmission:/config
      - /mnt/media/downloads/complete:/downloads
      - /mnt/media/downloads/watch:/watch
    ports:
      - 9091:9091    # Web UI
      - 51413:51413  # Peer port (TCP)
      - 51413:51413/udp # Peer port (UDP)
    restart: unless-stopped

What this recipe means:

  • volumes:: We are mapping three folders:

    • /config for settings.

    • /downloads for completed files.

    • /watch for auto-adding torrents.

  • ports:: 9091 is the web UI, and 51413 is for torrent traffic.

Then we need to change some configuration mainly rpc-whitelist-enabled": true, and rpc-whitelist": "*, this will let any transmission be reachable by any ip of the machine. This might not be safest, but I am not planning to open my server to internet so, probably it should be fine, there is also an option to configure a password, but it is just extra hassle for me tbh.

The configuration file can be reached by the following command:

sudo vim /srv/docker-data/transmission/settings.json

Next step after this installation and Jellyfin is to install the Arr Suite.