Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ opt_param_env_vars:
- {env_var: "PASS", env_value: "", desc: "Specify an optional password for the interface"}
- {env_var: "WHITELIST", env_value: "", desc: "Specify an optional list of comma separated ip whitelist. Fills rpc-whitelist setting."}
- {env_var: "PEERPORT", env_value: "", desc: "Specify an optional port for torrent TCP/UDP connections. Fills peer-port setting."}
- {env_var: "DISABLE_IPV6", env_value: "", desc: "Changes setting rpc-bind-address to IPv4 only."}
- {env_var: "HOST_WHITELIST", env_value: "", desc: "Specify an optional list of comma separated dns name whitelist. Fills rpc-host-whitelist setting."}
readonly_supported: true
nonroot_supported: true
Expand Down Expand Up @@ -106,6 +107,7 @@ init_diagram: |
"transmission:latest" <- Base Images
# changelog
changelogs:
- {date: "30.04.26:", desc: "Change rpc-bind-address to dualstack."}
- {date: "29.11.24:", desc: "Fix PEERPORT setting."}
- {date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
- {date: "10.08.23:", desc: "Bump unrar to 6.2.10."}
Expand Down
2 changes: 1 addition & 1 deletion root/defaults/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-bind-address": "[::]",
"rpc-enabled": true,
"rpc-password": "{1ddd3f1f6a71d655cde7767242a23a575b44c909n5YuRT.f",
"rpc-port": 9091,
Expand Down
4 changes: 4 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-transmission-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if [[ -n "${PEERPORT}" ]]; then
echo -E "$(jq -r '.["peer-port-random-on-start"] = false' /config/settings.json)" >/config/settings.json
fi

if [[ "${DISABLE_IPV6}" == "true" ]]; then
echo -E "$(jq -r '.["rpc-bind-address"] = "0.0.0.0"' /config/settings.json)" > /config/settings.json
fi

if [[ -n "${UMASK}" ]]; then
echo -E "$(jq -r --arg umask "${UMASK}" '.["umask"] = $umask' /config/settings.json)" >/config/settings.json
fi
Expand Down