mirror of
https://github.com/casjaysdevdocker/transmission
synced 2025-01-18 00:34:26 -05:00
casjay
ff98d063a4
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
👋 Welcome to transmission 🚀
Transmission is designed for easy, powerful use. Transmission has the features you want from a BitTorrent client:
encryption, a web interface, peer exchange, magnet links, DHT, µTP, UPnP and NAT-PMP port forwarding, webseed support,
watch directories, tracker editing, global and per-torrent speed limits, and more.
Install my system scripts
sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
sudo systemmgr --config && sudo systemmgr install scripts
Automatic install/update
dockermgr update transmission
Install and run container
mkdir -p "$HOME/.local/share/srv/docker/transmission/rootfs"
git clone "https://github.com/dockermgr/transmission" "$HOME/.local/share/CasjaysDev/dockermgr/transmission"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/transmission/rootfs/." "$HOME/.local/share/srv/docker/transmission/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-transmission \
--hostname transmission \
-e TZ=${TIMEZONE:-America/New_York} \
-v /mnt/downloads:/data/downloads:z \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-transmission/rootfs/data:/data:z \
-v $HOME/.local/share/srv/docker/casjaysdevdocker-transmission/rootfs/config:/config:z \
-p 0.0.0.0:9091:9091 \
-p 0.0.0.0:51413:51413 \
-p 0.0.0.0:51413:51413/udp \
casjaysdevdocker/transmission:latest
via docker-compose
version: "2"
services:
ProjectName:
image: casjaysdevdocker/transmission
container_name: casjaysdevdocker-transmission
environment:
- TZ=America/New_York
- HOSTNAME=transmission
volumes:
- /mnt/downloads:/data/downloads:z
- $HOME/.local/share/srv/docker/casjaysdevdocker-transmission/rootfs/data:/data:z
- $HOME/.local/share/srv/docker/casjaysdevdocker-transmission/rootfs/config:/config:z
ports:
- 0.0.0.0:9091:9091
- 0.0.0.0:51413:51413
- 0.0.0.0:51413:51413/udp
restart: always
Get source files
dockermgr download src casjaysdevdocker/transmission
OR
git clone "https://github.com/casjaysdevdocker/transmission" "$HOME/Projects/github/casjaysdevdocker/transmission"
Build container
cd "$HOME/Projects/github/casjaysdevdocker/transmission"
buildx
Authors
Description
Languages
Shell
86.8%
Dockerfile
13.2%