Compare commits

...
17 Commits
Author SHA1 Message Date
junvandGitHub 7e8fd16bc9 Bump versions for Caddy, Filebrowser, Rclone, and Ariang (#249)
Updated version numbers for Caddy, Filebrowser, Rclone, and Ariang.
2025-10-29 21:15:36 +11:00
junvandGitHub 2429cb87d4 Update README.md 2025-07-01 10:51:39 +10:00
junvandGitHub b22a36cb0d Update README.md 2025-06-11 21:17:54 +10:00
junv-repo-bot d19aee4d38 Update version 2025-03-07 06:39:23 +00:00
junvandGitHub 4a0bb9446f Make sure /ro and other resources are protected (#248) 2025-03-07 17:22:10 +11:00
junv-repo-bot 85e11866c1 Update version 2025-03-07 04:57:32 +00:00
junv 9a74f672b0 Update caddyfile 2025-03-07 15:21:33 +11:00
junvandGitHub e308b67902 use https://github.com/glowinthedark/caddy-file-server-browse-extension to enhance caddy file server user experience (#247) 2025-03-07 14:41:32 +11:00
junv-repo-bot 9ac63aef85 Update version 2025-03-07 02:57:50 +00:00
junvandGitHub 4c2cb0ddaf Enable caddy file server (#246)
* Enable caddy file server by default

* Update readme
2025-03-07 13:01:28 +11:00
junv-repo-bot e3beaca19e Update version 2025-03-06 12:35:07 +00:00
junv 9fb6123520 Urgent bug fix 2025-03-06 23:26:28 +11:00
junv-repo-bot 4394fde881 Update version 2025-03-06 12:17:53 +00:00
junv-repo-bot 21fbcad568 Update version 2025-03-06 12:07:22 +00:00
junvandGitHub 60a5a77193 Update README.md 2025-03-06 23:04:04 +11:00
junv-repo-bot 99c036f46c Update version 2025-03-06 11:51:44 +00:00
junvandGitHub ea0dbb9e14 Add logic to allow user disable filebrowser (#245) 2025-03-06 22:49:55 +11:00
10 changed files with 61 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
6.0.1
6.2.2
+9
View File
@@ -9,6 +9,7 @@ redir /ui / 301
redir /ui/ / 301
redir /rclone /rclone/ 301
redir /files /files/ 301
redir /ro /ro/ 301
reverse_proxy /rpc 127.0.0.1:6800
reverse_proxy /jsonrpc 127.0.0.1:6800
@@ -23,6 +24,14 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ro/* {
uri strip_prefix /ro
root * /data
file_server {
browse "{$CADDY_FILE_SERVER_BROWSE_HTML}"
}
}
route /ping {
respond "app version: {env.APP_VERSION}"
}
+3 -1
View File
@@ -34,14 +34,16 @@ ENV XDG_CONFIG_HOME=/app/.caddy/config
ENV XDG_CACHE_HOME=/app/.cache
ENV RCLONE_CONFIG_BASE64=""
ENV ENABLE_APP_CHECKER=true
ENV ENABLE_FILEBROWSER=true
ENV CADDY_LOG_LEVEL=INFO
ENV RCLONE_AUTO_UPLOAD_PROVIDER=
ENV RCLONE_AUTO_UPLOAD_REMOTE_PATH=/downloads
ENV RCLONE_AUTO_UPLOAD_FILE_MIN_SIZE=1K
ENV RCLONE_AUTO_UPLOAD_FILE_MAX_SIZE=100G
ENV FIX_DATA_VOLUME_PERMISSIONS=false
ENV CADDY_FILE_SERVER_BROWSE_HTML=/app/browse.html
ADD install.sh aria2c.sh caddy.sh Procfile init.sh start.sh rclone.sh new-version-checker.sh APP_VERSION /app/
ADD install.sh aria2c.sh caddy.sh filebrowser.sh Procfile init.sh start.sh rclone.sh new-version-checker.sh APP_VERSION /app/
ADD conf /app/conf
ADD Caddyfile SecureCaddyfile HerokuCaddyfile /usr/local/caddy/
+12 -1
View File
@@ -5,7 +5,9 @@
:PORT
basicauth / {
@protected path / /index.html /css/* /js/* /ro /ro/* /jsonrpc
basicauth @protected {
ARIA2_USER ARIA2_PWD_ENCRYPT
}
@@ -13,6 +15,7 @@ redir /ui / 301
redir /ui/ / 301
redir /rclone /rclone/ 301
redir /files /files/ 301
redir /ro /ro/ 301
reverse_proxy /jsonrpc 127.0.0.1:6800
@@ -26,6 +29,14 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ro/* {
uri strip_prefix /ro
root * /data
file_server {
browse "{$CADDY_FILE_SERVER_BROWSE_HTML}"
}
}
route /ping {
respond "app version: {env.APP_VERSION}"
}
+1 -1
View File
@@ -1,5 +1,5 @@
caddy: /app/caddy.sh
filebrowser: /app/filebrowser -p 8080 -d /app/filebrowser.db -r /data -b /files
filebrowser: /app/filebrowser.sh
aria2c: /app/aria2c.sh
rclone: /app/rclone.sh
newer_version_checker: /app/new-version-checker.sh
+5 -3
View File
@@ -6,7 +6,7 @@ English | [简体中文](https://github.com/wahyd4/aria2-ariang-docker/blob/mast
[![Docker Pulls](https://img.shields.io/docker/pulls/wahyd4/aria2-ui.svg)](https://hub.docker.com/r/wahyd4/aria2-ui/)
[![Github Build](https://github.com/wahyd4/aria2-ariang-docker/actions/workflows/dockerimage.yml/badge.svg)](https://github.com/wahyd4/aria2-ariang-docker/actions)
[![Page Views Count](https://badges.toozhao.com/svg/aria2-ariang-docker)](https://badges.toozhao.com/stats/aria2-ariang-docker "Page Views Count")
![Page Views Count](https://badges.toozhao.com/svg/aria2-ariang-docker)
@@ -61,7 +61,7 @@ File Browser
* wahyd4/aria2-ui:latest
> Docker will pick the the proper ARCH for you. e.g. arm64v8 or x86_64
> Docker will pick proper CPU ARCH for you. e.g. arm64v8 or x86_64
## How to run
@@ -72,6 +72,7 @@ File Browser
```
* Aria2: <http://yourip:8000>
* Caddy File Server(Read Only) <http://yourip:8000/ro>
* FileManger: <http://yourip:8000/files>
* Rclone: <http://yourip:8000/rclone>
* Please use `admin`/`admin` as username and password to login `Filebrowser` for the first time. And use `user`/`password` to login `Rclone` if you don't update `ARIA2_USER` and `ARIA2_PWD`
@@ -124,7 +125,8 @@ Then simply run `docker-compose up -d`, that's it!
| ENV | Description|
|:---|:---|
| `ENABLE_AUTH` | Whether to enable Basic auth |
| `ENABLE_RCLONE` | Whether to disable Rclone, if you running this container offline or do not have stable connection to Github, please set to `false`
| `ENABLE_RCLONE` | Whether to disable Rclone, if you running this container offline or do not have stable connection to Github, please set to `false` |
| `ENABLE_FILEBROWSER` | Whether to disable Filebrowser, set it to `false` to disable it, by default it's enabled |
| `ARIA2_USER` | Basic Auth username, Rclone GUI uses it as well. |
| `ARIA2_PWD` | Basic Auth password, Rclone GUI uses it as well. |
| `ARIA2_EXTERNAL_PORT` | The Aria2 port which exposed to public to access to |
+12 -1
View File
@@ -5,7 +5,9 @@ log {
output stderr
}
basicauth / {
@protected path / /index.html /css/* /js/* /ro /ro/* /jsonrpc
basicauth @protected {
ARIA2_USER ARIA2_PWD_ENCRYPT
}
@@ -13,6 +15,7 @@ redir /ui / 301
redir /ui/ / 301
redir /rclone /rclone/ 301
redir /files /files/ 301
redir /ro /ro/ 301
reverse_proxy /rpc 127.0.0.1:6800
reverse_proxy /jsonrpc 127.0.0.1:6800
@@ -27,6 +30,14 @@ route /files/* {
reverse_proxy 127.0.0.1:8080
}
route /ro/* {
uri strip_prefix /ro
root * /data
file_server {
browse "{$CADDY_FILE_SERVER_BROWSE_HTML}"
}
}
route /ping {
respond "app version: {env.APP_VERSION}"
}
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash -eu
echo "Checking if FileBrowser is enabled..."
if [ "$ENABLE_FILEBROWSER" = "true" ]; then
echo "Starting FileBrowser..."
/app/filebrowser -p 8080 -d /app/filebrowser.db -r /data -b /files
else
echo "FileBrowser is disabled. Set ENABLE_FILEBROWSER=true to enable it."
sleep 3650d
fi
+2 -1
View File
@@ -24,7 +24,8 @@ fi
chmod +x /app/caddy.sh \
/app/rclone.sh \
/app/aria2c.sh
/app/aria2c.sh \
/app/filebrowser.sh
echo "[INFO] Give caddy permissions to use low ports"
setcap cap_net_bind_service=+ep /usr/local/bin/caddy
+5 -4
View File
@@ -2,10 +2,10 @@
echo "[INFO] Set variables for $(arch)"
caddy_version=2.9.1
filebrowser_version=v2.32.0
rclone_version=v1.69.1
ariang_version=1.3.10
caddy_version=2.10.2
filebrowser_version=v2.44.2
rclone_version=v1.71.2
ariang_version=1.3.11
case "$(arch)" in
@@ -42,6 +42,7 @@ groupadd junv \
&& tar -zxf ${caddy_file} \
&& mv caddy /usr/local/bin/ \
&& rm -rf ${caddy_file} \
&& wget -P /app -N https://raw.githubusercontent.com/glowinthedark/caddy-file-server-browse-extension/39e997c91539d0f04fcce53a3cb6605b2ae9e50c/browse.html \
&& platform=linux-amd64 \
&& wget -N https://github.com/filebrowser/filebrowser/releases/download/${filebrowser_version}/${filebrowser_file} \
&& tar -zxf ${filebrowser_file} \