From e26976c768aaa8e4194316583ee454d8675270cb Mon Sep 17 00:00:00 2001 From: wy580477 <98247050+wy580477@users.noreply.github.com> Date: Fri, 2 Dec 2022 15:52:55 +0800 Subject: [PATCH] Upate AriaNg --- Dockerfile | 2 +- Dockerfile.lite | 2 +- content/service/caddy/run | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3061f7c..f0adef6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apk add --no-cache curl caddy jq runit tzdata fuse p7zip bash findutils \ && pipx install --pip-args='--no-cache-dir' pyload-ng[plugins] \ && pipx install --pip-args='--no-cache-dir' gallery-dl \ && apk del .build-deps \ - && wget -O - https://github.com/mayswind/AriaNg/releases/download/1.2.5/AriaNg-1.2.5.zip | busybox unzip -qd /workdir/ariang - \ + && wget -O - https://github.com/mayswind/AriaNg/releases/download/1.3.2/AriaNg-1.3.2.zip | busybox unzip -qd /workdir/ariang - \ && wget -O - https://github.com/rclone/rclone-webui-react/releases/download/v2.0.5/currentbuild.zip | busybox unzip -qd /workdir/rcloneweb - \ && wget -O - https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip | busybox unzip -qd /workdir/homer - \ && wget -O - https://github.com/WDaan/VueTorrent/releases/latest/download/vuetorrent.zip | busybox unzip -qd /workdir - \ diff --git a/Dockerfile.lite b/Dockerfile.lite index f250e40..99d81f7 100644 --- a/Dockerfile.lite +++ b/Dockerfile.lite @@ -18,7 +18,7 @@ ENV STATE_DIR=/mnt/data/videos/.metube RUN apk add --no-cache curl caddy jq runit tzdata fuse bash findutils \ && python3 -m pip install --user --no-cache-dir pipx \ && pipx install --pip-args='--no-cache-dir' gallery-dl \ - && wget -O - https://github.com/mayswind/AriaNg/releases/download/1.2.5/AriaNg-1.2.5.zip | busybox unzip -qd /workdir/ariang - \ + && wget -O - https://github.com/mayswind/AriaNg/releases/download/1.3.2/AriaNg-1.3.2.zip | busybox unzip -qd /workdir/ariang - \ && wget -O - https://github.com/rclone/rclone-webui-react/releases/download/v2.0.5/currentbuild.zip | busybox unzip -qd /workdir/rcloneweb - \ && wget -O - https://github.com/bastienwirtz/homer/releases/latest/download/homer.zip | busybox unzip -qd /workdir/homer - \ && wget -O - https://github.com/WDaan/VueTorrent/releases/latest/download/vuetorrent.zip | busybox unzip -qd /workdir - \ diff --git a/content/service/caddy/run b/content/service/caddy/run index 4162480..120520b 100644 --- a/content/service/caddy/run +++ b/content/service/caddy/run @@ -1,8 +1,8 @@ #!/bin/sh # Configure AriaNG & Rclone WebUI -sed -i 's|6800|'"${CADDY_WEB_PORT}"'|g' /workdir/ariang/js/aria-ng-42c21d0551.min.js -sed -i 's|rpcInterface:"jsonrpc"|rpcInterface:"'"${GLOBAL_PORTAL_PATH/\//}"'/jsonrpc"|g' /workdir/ariang/js/aria-ng-42c21d0551.min.js +sed -i 's|6800|'"${CADDY_WEB_PORT}"'|g' /workdir/ariang/js/aria-ng-3fcc0271ed.min.js +sed -i 's|rpcInterface:"jsonrpc"|rpcInterface:"'"${GLOBAL_PORTAL_PATH/\//}"'/jsonrpc"|g' /workdir/ariang/js/aria-ng-3fcc0271ed.min.js sed -i 's|ipAddress:a|ipAddress:`${window.location.protocol}//${window.location.hostname}:'"${CADDY_WEB_PORT}"''"${GLOBAL_PORTAL_PATH}"'/rclonerc`|g' /workdir/rcloneweb/build/static/js/3.90421092.chunk.js # Configure homer