1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00

update aria2

This commit is contained in:
kev 2021-09-07 11:26:11 +08:00
parent 49b8e42f53
commit a42e615919
7 changed files with 31 additions and 19 deletions

View File

@ -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

View File

@ -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
```

View File

@ -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

View File

@ -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

14
ariang/Dockerfile Normal file
View File

@ -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 -

6
ariang/README.md Normal file
View File

@ -0,0 +1,6 @@
AriaNg
======
[AriaNg][1] is a modern web frontend making aria2 easier to use.
[1]: https://github.com/mayswind/AriaNg

View File

@ -0,0 +1,7 @@
version: "3.8"
services:
ariang:
image: vimagick/ariang
ports:
- "8080:80"
restart: unless-stopped