mirror of
https://github.com/casjaysdevdocker/transmission
synced 2025-01-18 00:34:26 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
fd571b10ee
commit
6020282ced
@ -12,7 +12,7 @@ ENV SHELL=/bin/bash \
|
|||||||
|
|
||||||
RUN mkdir -p /bin/ /config/ /data/ && \
|
RUN mkdir -p /bin/ /config/ /data/ && \
|
||||||
rm -Rf /bin/.gitkeep /config/.gitkeep /data/.gitkeep && \
|
rm -Rf /bin/.gitkeep /config/.gitkeep /data/.gitkeep && \
|
||||||
apk update -U --no-cache transmission-daemon
|
apk update -U --no-cache transmission-daemon
|
||||||
|
|
||||||
COPY ./bin/. /usr/local/bin/
|
COPY ./bin/. /usr/local/bin/
|
||||||
COPY ./config/. /etc/
|
COPY ./config/. /etc/
|
||||||
|
@ -94,6 +94,10 @@ fi
|
|||||||
[ -f "/etc/.env.sh" ] && rm -Rf "/etc/.env.sh"
|
[ -f "/etc/.env.sh" ] && rm -Rf "/etc/.env.sh"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Additional commands
|
# Additional commands
|
||||||
|
[ -d "/data/Torrents/torrents" ] || mkdir -p "/data/Torrents/torrents"
|
||||||
|
[ -d "/data/Torrents/Complete" ] || mkdir -p "/data/Torrents/Complete"
|
||||||
|
[ -d "/data/Torrents/InComplete" ] || mkdir -p "/data/Torrents/InComplete"
|
||||||
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
if [ -f "/config/transmission/settings.json" ]; then
|
if [ -f "/config/transmission/settings.json" ]; then
|
||||||
cp -Rf "/config/transmission/settings.json" "/etc/transmission/settings.json"
|
cp -Rf "/config/transmission/settings.json" "/etc/transmission/settings.json"
|
||||||
else
|
else
|
||||||
|
@ -14,14 +14,16 @@
|
|||||||
"cache-size-mb": 4,
|
"cache-size-mb": 4,
|
||||||
"compact-view": false,
|
"compact-view": false,
|
||||||
"dht-enabled": true,
|
"dht-enabled": true,
|
||||||
"download-dir": "/data/Torrents/Complete",
|
"watch-dir-enabled": true,
|
||||||
|
"watch-dir": "/data/Torrents/torrents",
|
||||||
"download-queue-enabled": true,
|
"download-queue-enabled": true,
|
||||||
"download-queue-size": 3,
|
"download-queue-size": 3,
|
||||||
|
"download-dir": "/data/Torrents/Complete",
|
||||||
|
"incomplete-dir-enabled": true,
|
||||||
|
"incomplete-dir": "/data/Torrents/InComplete",
|
||||||
"encryption": 1,
|
"encryption": 1,
|
||||||
"idle-seeding-limit": 1,
|
"idle-seeding-limit": 1,
|
||||||
"idle-seeding-limit-enabled": false,
|
"idle-seeding-limit-enabled": false,
|
||||||
"incomplete-dir": "/data/Torrents/InComplete",
|
|
||||||
"incomplete-dir-enabled": true,
|
|
||||||
"inhibit-desktop-hibernation": false,
|
"inhibit-desktop-hibernation": false,
|
||||||
"lpd-enabled": true,
|
"lpd-enabled": true,
|
||||||
"main-window-height": 500,
|
"main-window-height": 500,
|
||||||
@ -83,15 +85,13 @@
|
|||||||
"start-added-torrents": true,
|
"start-added-torrents": true,
|
||||||
"statusbar-stats": "total-ratio",
|
"statusbar-stats": "total-ratio",
|
||||||
"torrent-added-notification-enabled": true,
|
"torrent-added-notification-enabled": true,
|
||||||
"torrent-complete-notification-enabled": true,
|
"torrent-complete-notification-enabled": false,
|
||||||
"torrent-complete-sound-command": "canberra-gtk-play -i complete-download -d 'transmission torrent downloaded'",
|
"torrent-complete-sound-command": "",
|
||||||
"torrent-complete-sound-enabled": true,
|
"torrent-complete-sound-enabled": true,
|
||||||
"trash-can-enabled": true,
|
"trash-can-enabled": true,
|
||||||
"trash-original-torrent-files": false,
|
"trash-original-torrent-files": false,
|
||||||
"umask": 2,
|
"umask": 2,
|
||||||
"upload-slots-per-torrent": 14,
|
"upload-slots-per-torrent": 14,
|
||||||
"user-has-given-informed-consent": true,
|
"user-has-given-informed-consent": true,
|
||||||
"utp-enabled": true,
|
"utp-enabled": true
|
||||||
"watch-dir": "/data/Torrents/torrents",
|
|
||||||
"watch-dir-enabled": true
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user