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 placesudo mkdir -p /mnt/media/downloads/complete
sudo mkdir -p /mnt/media/downloads/watch-
/completeis where finished files will go. -
/watchis a folder you can drop.torrentfiles 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-stoppedWhat this recipe means:
-
volumes:: We are mapping three folders:-
/configfor settings. -
/downloadsfor completed files. -
/watchfor auto-adding torrents.
-
-
ports::9091is the web UI, and51413is 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.jsonNext step after this installation and Jellyfin is to install the Arr Suite.