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