docker-bits/lsio/transmission/docker-run.sh

26 lines
1.8 KiB
Bash
Raw Normal View History

2021-04-10 10:16:29 +00:00
# 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.
source ./.env
docker run -d \
--name=transmission \
-e PUID=${PUID:-1024} `# for GroupID` \
-e PGID=${PGID:-100} `# for UserID` \
2021-04-13 00:58:58 +00:00
-e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \
2021-04-16 00:55:00 +00:00
-e TRANSMISSION_WEB_HOME=/combustion-release/ `# optional` `# Specify an alternative UI options are [`/combustion-release/`](https://github.com/Secretmapper/combustion), [`/transmission-web-control/`](https://github.com/ronggang/transmission-web-control), [`/kettu/`](https://github.com/endor/kettu) and [`/flood-for-transmission/`](https://github.com/johman10/flood-for-transmission).` \
2021-04-10 10:16:29 +00:00
-e USER=username `# optional` `# Specify an optional username for the interface` \
-e PASS=password `# optional` `# Specify an optional password for the interface` \
-e WHITELIST=iplist `# optional` `# Specify an optional list of comma separated ip whitelist. Fill rpc-whitelist setting.` \
-e HOST_WHITELIST=dnsnane list `# optional` `# Specify an optional list of comma separated dns name whitelist. Fill rpc-host-whitelist setting.` \
-p 9091:9091 `# WebUI` \
-p 51413:51413 `# Torrent Port TCP` \
-p 51413:51413/udp `# Torrent Port UDP` \
-v ${BASEDIR:-/volume1/docker}/transmission/config:/config `# Where transmission should store config files and logs.` \
-v ${BASEDIR:-/volume1/docker}/transmission/downloads:/downloads `# Local path for downloads.` \
-v ${BASEDIR:-/volume1/docker}/transmission/watch:/watch `# Watch folder for torrent files.` \
--restart unless-stopped \
ghcr.io/linuxserver/transmission