mirror of
https://github.com/linuxserver/docker-transmission.git
synced 2025-12-17 21:49:44 +01:00
Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fc46f45ec | ||
|
|
0461071b92 | ||
|
|
9fb8dcd358 | ||
|
|
328068e20d | ||
|
|
9091730d00 | ||
|
|
4246f944d6 | ||
|
|
b4e526cedf | ||
|
|
f0c27ab450 | ||
|
|
244f5c6810 | ||
|
|
d22fdb48dc | ||
|
|
97dfe76a57 | ||
|
|
76293d786a | ||
|
|
1f0f18517d | ||
|
|
f505697081 | ||
|
|
d9420323ac | ||
|
|
5138709d55 | ||
|
|
f7490f4fd7 | ||
|
|
6bad2d716e | ||
|
|
72c8df500e | ||
|
|
a1b5353ea2 |
10
Dockerfile
10
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM lsiobase/alpine
|
||||
FROM lsiobase/alpine:3.6
|
||||
MAINTAINER sparklyballs
|
||||
|
||||
# set version label
|
||||
@@ -11,8 +11,14 @@ RUN \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
jq \
|
||||
openssl \
|
||||
p7zip \
|
||||
rsync \
|
||||
tar \
|
||||
transmission-cli \
|
||||
transmission-daemon
|
||||
transmission-daemon \
|
||||
unrar \
|
||||
unzip
|
||||
|
||||
# copy local files
|
||||
COPY root/ /
|
||||
|
||||
14
README.md
14
README.md
@@ -2,6 +2,8 @@
|
||||
[forumurl]: https://forum.linuxserver.io
|
||||
[ircurl]: https://www.linuxserver.io/irc/
|
||||
[podcasturl]: https://www.linuxserver.io/podcast/
|
||||
[appurl]: https://www.transmissionbt.com/
|
||||
[hub]: https://hub.docker.com/r/linuxserver/transmission/
|
||||
|
||||
[][linuxserverurl]
|
||||
|
||||
@@ -11,13 +13,11 @@ The [LinuxServer.io][linuxserverurl] team brings you another container release f
|
||||
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
|
||||
|
||||
# linuxserver/transmission
|
||||
[](https://microbadger.com/images/linuxserver/transmission "Get your own version badge on microbadger.com")[](http://microbadger.com/images/linuxserver/transmission "Get your own image badge on microbadger.com")[][hub][][hub][](http://jenkins.linuxserver.io:8080/job/Dockers/job/LinuxServer.io/job/linuxserver-transmission/)
|
||||
[hub]: https://hub.docker.com/r/linuxserver/transmission/
|
||||
[](https://microbadger.com/images/linuxserver/transmission "Get your own version badge on microbadger.com")[](https://microbadger.com/images/linuxserver/transmission "Get your own image badge on microbadger.com")[][hub][][hub][](https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-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. [Transmission](http://www.transmissionbt.com/about/)
|
||||
|
||||
[][transurl]
|
||||
[transurl]: https://www.transmissionbt.com/
|
||||
[][appurl]
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -67,7 +67,7 @@ In this instance `PUID=1001` and `PGID=1001`. To find yours use `id user` as bel
|
||||
|
||||
Webui is on port 9091, the settings.json file in /config has extra settings not available in the webui. Stop the container before editing it or any changes won't be saved.
|
||||
|
||||
## Securing the webui with a username/password.
|
||||
## Securing the webui with a username/password.
|
||||
|
||||
this requires 3 settings to be changed in the settings.json file.
|
||||
|
||||
@@ -104,6 +104,10 @@ The automatic update will run once a day at 3am local server time.
|
||||
|
||||
## Versions
|
||||
|
||||
+ **25.07.17:** Add rsync package.
|
||||
+ **27.05.17:** Rebase to alpine linux 3.6.
|
||||
+ **06.02.17:** Rebase to alpine linux 3.5.
|
||||
+ **15.01.17:** Add p7zip, tar , unrar and unzip packages.
|
||||
+ **16.10.16:** Blocklist autoupdate with optional authentication.
|
||||
+ **14.10.16:** Add version layer information.
|
||||
+ **23.09.16:** Add information about securing the webui to README..
|
||||
|
||||
@@ -1,10 +1,20 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
BLOCKLIST_URL=`jq -r '.["blocklist-url"]' settings.json`
|
||||
BLOCKLIST_ENABLED=`jq -r '.["blocklist-enabled"]' /config/settings.json`
|
||||
BLOCKLIST_URL=`jq -r '.["blocklist-url"]' /config/settings.json | sed 's/\&/\&/g'`
|
||||
|
||||
rm /config/blocklists/*
|
||||
cd /config/blocklists
|
||||
wget -q $BLOCKLIST_URL
|
||||
gunzip *.gz
|
||||
chmod go+r *
|
||||
s6-svc -h /var/run/s6/services/transmission
|
||||
if [ $BLOCKLIST_ENABLED == true ]; then
|
||||
mkdir -p /tmp/blocklists
|
||||
rm -rf /tmp/blocklists/*
|
||||
cd /tmp/blocklists
|
||||
wget -q -O blocklist.gz "$BLOCKLIST_URL"
|
||||
if [ $? == 0 ]; then
|
||||
gunzip *.gz
|
||||
if [ $? == 0 ]; then
|
||||
chmod go+r *
|
||||
rm -rf /config/blocklists/*
|
||||
cp /tmp/blocklists/* /config/blocklists
|
||||
s6-svc -h /var/run/s6/services/transmission
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user