diff --git a/README.md b/README.md index 078701e..c763436 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,7 @@ A collection of delicious docker recipes. - [x] alpine-arm :+1: - [x] apacheds - [x] aria2 :+1: +- [x] ariang - [x] cadvisor - [x] casperjs :+1: - [x] freegeoip diff --git a/aria2/README.md b/aria2/README.md index f3d771e..11f2014 100644 --- a/aria2/README.md +++ b/aria2/README.md @@ -13,11 +13,6 @@ aria2 ~/fig/aria2/ ├── docker-compose.yml └── data/ - ├── html/ - │ ├── css/ - │ ├── img/ - │ ├── js/ - │ └── index.html ├── disk/ -> /mnt/usb/ ├── default.conf └── aria2.conf @@ -45,13 +40,9 @@ services: restart: unless-stopped webui: - image: nginx:alpine + image: vimagick/ariang ports: - "8080:80" - volumes: - - ./data/html:/usr/share/nginx/html - - ./data/default.conf:/etc/nginx/conf.d/default.conf - - ./data/disk:/data restart: unless-stopped ``` diff --git a/aria2/data/aria2.conf b/aria2/data/aria2.conf index 36492f9..cbfdd3e 100644 --- a/aria2/data/aria2.conf +++ b/aria2/data/aria2.conf @@ -1,14 +1,11 @@ -dir=/home/aria2 +dir=/root disable-ipv6=true enable-rpc=true max-download-limit=0 max-upload-limit=0 rpc-allow-origin-all=true -rpc-certificate=/etc/aria2/keys/server.crt rpc-listen-all=true rpc-listen-port=6800 -rpc-private-key=/etc/aria2/keys/server.key rpc-secret=00000000-0000-0000-0000-000000000000 -rpc-secure=true seed-ratio=0 seed-time=0 diff --git a/aria2/docker-compose.yml b/aria2/docker-compose.yml index d558bed..da9de60 100644 --- a/aria2/docker-compose.yml +++ b/aria2/docker-compose.yml @@ -14,11 +14,7 @@ services: restart: unless-stopped webui: - image: nginx:alpine + image: vimagick/ariang ports: - "8080:80" - volumes: - - ./data/html:/usr/share/nginx/html - - ./data/default.conf:/etc/nginx/conf.d/default.conf - - ./data/disk:/data restart: unless-stopped diff --git a/ariang/Dockerfile b/ariang/Dockerfile new file mode 100644 index 0000000..55456dc --- /dev/null +++ b/ariang/Dockerfile @@ -0,0 +1,14 @@ +# +# Dockerfile for AriaNg +# + +FROM nginx:alpine +MAINTAINER EasyPi Software Foundation + +ENV ARIA_NG_VERSION=1.2.2 +ENV ARIA_NG_URL=https://github.com/mayswind/AriaNg/releases/download/${ARIA_NG_VERSION}/AriaNg-${ARIA_NG_VERSION}.zip + +RUN set -xe \ + && cd /usr/share/nginx/html \ + && rm -rf * \ + && curl -sSL ${ARIA_NG_URL} | busybox unzip - diff --git a/ariang/README.md b/ariang/README.md new file mode 100644 index 0000000..03c01df --- /dev/null +++ b/ariang/README.md @@ -0,0 +1,6 @@ +AriaNg +====== + +[AriaNg][1] is a modern web frontend making aria2 easier to use. + +[1]: https://github.com/mayswind/AriaNg diff --git a/ariang/docker-compose.yml b/ariang/docker-compose.yml new file mode 100644 index 0000000..b7d4c4b --- /dev/null +++ b/ariang/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3.8" +services: + ariang: + image: vimagick/ariang + ports: + - "8080:80" + restart: unless-stopped