Skip to content

Commit

Permalink
Add Transmission template for settings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
matusnovak committed Sep 11, 2020
1 parent f645431 commit 3b11636
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env.sample
Expand Up @@ -28,6 +28,7 @@ AUTHELIA_SECRET=unsecure_session_secret
ONLYOFFICE_JWT_SECRET=password
QBITTORRENT_VPN_USERNAME=your_vpn_username
QBITTORRENT_VPN_PASSWORD=your_vpn_password
TRANSMISSION_RPC_PASSWORD=randompassword

# The following are Docker image versions for all of the services used

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -158,6 +158,7 @@ def main():

mkdir('transmission/config')
mkdir('transmission/watch')
copy('transmission/config/settings.json', env)

mkdir('neko')
copy('neko/neko.js', env, is_template=False)
Expand Down
70 changes: 70 additions & 0 deletions templates/transmission/config/settings.json
@@ -0,0 +1,70 @@
{
"alt-speed-down": 50,
"alt-speed-enabled": false,
"alt-speed-time-begin": 540,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": false,
"alt-speed-time-end": 1020,
"alt-speed-up": 50,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/downloads/complete",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/downloads/incomplete",
"incomplete-dir-enabled": true,
"lpd-enabled": false,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-id-ttl-hours": 6,
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"peer-port": 51413,
"peer-port-random-high": 65535,
"peer-port-random-low": 49152,
"peer-port-random-on-start": false,
"peer-socket-tos": "default",
"pex-enabled": true,
"port-forwarding-enabled": true,
"preallocation": 1,
"prefetch-enabled": true,
"queue-stalled-enabled": true,
"queue-stalled-minutes": 30,
"ratio-limit": 2,
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-host-whitelist": "transmission.${DOMAIN_NAME}",
"rpc-host-whitelist-enabled": true,
"rpc-password": "${TRANSMISSION_RPC_PASSWORD}",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": false,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
"script-torrent-done-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"trash-original-torrent-files": false,
"umask": 2,
"upload-slots-per-torrent": 14,
"utp-enabled": false,
"watch-dir": "/watch",
"watch-dir-enabled": true
}

0 comments on commit 3b11636

Please sign in to comment.