Merge pull request #153 from johman10/add-flood-for-transmission

Add flood-for-transmission as an alternative UI
This commit is contained in:
aptalca
2021-04-15 09:19:04 -04:00
committed by GitHub
4 changed files with 21 additions and 4 deletions

View File

@@ -54,6 +54,12 @@ RUN \
tar xf \ tar xf \
/tmp/kettu.tar.gz -C \ /tmp/kettu.tar.gz -C \
/kettu --strip-components=1 && \ /kettu --strip-components=1 && \
curl -o \
/tmp/flood-for-transmission.tar.gz -L \
"https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.tar.gz" && \
tar xf \
/tmp/flood-for-transmission.tar.gz -C \
/ && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
rm -rf \ rm -rf \
/tmp/* /tmp/*

View File

@@ -54,6 +54,12 @@ RUN \
tar xf \ tar xf \
/tmp/kettu.tar.gz -C \ /tmp/kettu.tar.gz -C \
/kettu --strip-components=1 && \ /kettu --strip-components=1 && \
curl -o \
/tmp/flood-for-transmission.tar.gz -L \
"https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.tar.gz" && \
tar xf \
/tmp/flood-for-transmission.tar.gz -C \
/ && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
rm -rf \ rm -rf \
/tmp/* /tmp/*
@@ -65,4 +71,3 @@ COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 9091 51413 EXPOSE 9091 51413
VOLUME /config /downloads /watch VOLUME /config /downloads /watch

View File

@@ -54,6 +54,12 @@ RUN \
tar xf \ tar xf \
/tmp/kettu.tar.gz -C \ /tmp/kettu.tar.gz -C \
/kettu --strip-components=1 && \ /kettu --strip-components=1 && \
curl -o \
/tmp/flood-for-transmission.tar.gz -L \
"https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.tar.gz" && \
tar xf \
/tmp/flood-for-transmission.tar.gz -C \
/ && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
rm -rf \ rm -rf \
/tmp/* /tmp/*
@@ -65,4 +71,3 @@ COPY root/ /
# ports and volumes # ports and volumes
EXPOSE 9091 51413 EXPOSE 9091 51413
VOLUME /config /downloads /watch VOLUME /config /downloads /watch

View File

@@ -40,7 +40,7 @@ cap_add_param: false
# optional container parameters # optional container parameters
opt_param_usage_include_env: true opt_param_usage_include_env: true
opt_param_env_vars: opt_param_env_vars:
- { env_var: "TRANSMISSION_WEB_HOME", env_value: "/combustion-release/", desc: "Specify an alternative UI options are `/combustion-release/`, `/transmission-web-control/`, and `/kettu/` ." } - { env_var: "TRANSMISSION_WEB_HOME", env_value: "/combustion-release/", desc: "Specify an alternative UI options are [`/combustion-release/`](https://github.com/Secretmapper/combustion), [`/transmission-web-control/`](https://github.com/ronggang/transmission-web-control), [`/kettu/`](https://github.com/endor/kettu) and [`/flood-for-transmission/`](https://github.com/johman10/flood-for-transmission)." }
- { env_var: "USER", env_value: "username", desc: "Specify an optional username for the interface" } - { env_var: "USER", env_value: "username", desc: "Specify an optional username for the interface" }
- { env_var: "PASS", env_value: "password", desc: "Specify an optional password for the interface" } - { env_var: "PASS", env_value: "password", desc: "Specify an optional password for the interface" }
- { env_var: "WHITELIST", env_value: "iplist", desc: "Specify an optional list of comma separated ip whitelist. Fill rpc-whitelist setting."} - { env_var: "WHITELIST", env_value: "iplist", desc: "Specify an optional list of comma separated ip whitelist. Fill rpc-whitelist setting."}
@@ -69,7 +69,7 @@ app_setup_block: |
The automatic update is a shell script that downloads a blocklist from the url stored in the settings.json, gunzips it, and restarts the transmission daemon. The automatic update is a shell script that downloads a blocklist from the url stored in the settings.json, gunzips it, and restarts the transmission daemon.
The automatic update will run once a day at 3am local server time. The automatic update will run once a day at 3am local server time.
## Using whitelist ## Using whitelist
Use `WHITELIST` to enable a list of ip as whitelist. This enable support for `rpc-whitelist`. When `WHITELIST` is empty support for whitelist is disabled. Use `WHITELIST` to enable a list of ip as whitelist. This enable support for `rpc-whitelist`. When `WHITELIST` is empty support for whitelist is disabled.
@@ -79,6 +79,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "06.03.21:", desc: "Add Flood for Transmission as a UI option" }
- { date: "23.01.21:", desc: "Rebasing to alpine 3.13." } - { date: "23.01.21:", desc: "Rebasing to alpine 3.13." }
- { date: "02.11.20:", desc: "Add ca-certificates package to allow connecting to https trackers." } - { date: "02.11.20:", desc: "Add ca-certificates package to allow connecting to https trackers." }
- { date: "02.06.20:", desc: "Rebase to alpine 3.12, update to transmission 3.0, remove python2, add python3." } - { date: "02.06.20:", desc: "Rebase to alpine 3.12, update to transmission 3.0, remove python2, add python3." }