Last active
September 12, 2016 14:00
-
-
Save thde/9c0516ca60157bab9c159e36b5c2dd1c to your computer and use it in GitHub Desktop.
Alpine with transmission
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.4 | |
RUN apk upgrade --no-cache && \ | |
apk add --no-cache transmission-daemon && \ | |
mkdir -p /var/lib/transmission/downloads && \ | |
mkdir -p /var/lib/transmission/watch | |
EXPOSE 9091 | |
VOLUME /var/lib/transmission/downloads | |
VOLUME /var/lib/transmission/watch | |
CMD /usr/bin/transmission-daemon \ | |
--allowed 127.*,10.*,192.168.*,172.16.*,172.17.*,172.18.*,172.19.*,172.20.*,172.21.*,172.22.*,172.23.*,172.24.*,172.25.*,172.26.*,172.27.*,172.28.*,172.29.*,172.30.*,172.31.*,169.254.* \ | |
--no-dht \ | |
--no-utp \ | |
--no-lpd \ | |
--no-auth \ | |
--port 9091 \ | |
--peerport 51413 \ | |
--pid-file /var/run/transmission/transmission.pid \ | |
--logfile /var/log/transmission/transmission.log \ | |
--download-dir /var/lib/transmission/downloads \ | |
--watch-dir /var/lib/transmission/watch \ | |
--foreground \ | |
--no-portmap \ | |
--encryption-preferred \ | |
--no-blocklist \ | |
--no-incomplete-dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment