mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update aria2
This commit is contained in:
@@ -101,6 +101,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] alpine-arm :+1:
|
- [x] alpine-arm :+1:
|
||||||
- [x] apacheds
|
- [x] apacheds
|
||||||
- [x] aria2 :+1:
|
- [x] aria2 :+1:
|
||||||
|
- [x] ariang
|
||||||
- [x] cadvisor
|
- [x] cadvisor
|
||||||
- [x] casperjs :+1:
|
- [x] casperjs :+1:
|
||||||
- [x] freegeoip
|
- [x] freegeoip
|
||||||
|
|||||||
@@ -13,11 +13,6 @@ aria2
|
|||||||
~/fig/aria2/
|
~/fig/aria2/
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
└── data/
|
└── data/
|
||||||
├── html/
|
|
||||||
│ ├── css/
|
|
||||||
│ ├── img/
|
|
||||||
│ ├── js/
|
|
||||||
│ └── index.html
|
|
||||||
├── disk/ -> /mnt/usb/
|
├── disk/ -> /mnt/usb/
|
||||||
├── default.conf
|
├── default.conf
|
||||||
└── aria2.conf
|
└── aria2.conf
|
||||||
@@ -45,13 +40,9 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
webui:
|
webui:
|
||||||
image: nginx:alpine
|
image: vimagick/ariang
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
|
||||||
- ./data/html:/usr/share/nginx/html
|
|
||||||
- ./data/default.conf:/etc/nginx/conf.d/default.conf
|
|
||||||
- ./data/disk:/data
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,11 @@
|
|||||||
dir=/home/aria2
|
dir=/root
|
||||||
disable-ipv6=true
|
disable-ipv6=true
|
||||||
enable-rpc=true
|
enable-rpc=true
|
||||||
max-download-limit=0
|
max-download-limit=0
|
||||||
max-upload-limit=0
|
max-upload-limit=0
|
||||||
rpc-allow-origin-all=true
|
rpc-allow-origin-all=true
|
||||||
rpc-certificate=/etc/aria2/keys/server.crt
|
|
||||||
rpc-listen-all=true
|
rpc-listen-all=true
|
||||||
rpc-listen-port=6800
|
rpc-listen-port=6800
|
||||||
rpc-private-key=/etc/aria2/keys/server.key
|
|
||||||
rpc-secret=00000000-0000-0000-0000-000000000000
|
rpc-secret=00000000-0000-0000-0000-000000000000
|
||||||
rpc-secure=true
|
|
||||||
seed-ratio=0
|
seed-ratio=0
|
||||||
seed-time=0
|
seed-time=0
|
||||||
|
|||||||
@@ -14,11 +14,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
webui:
|
webui:
|
||||||
image: nginx:alpine
|
image: vimagick/ariang
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
|
||||||
- ./data/html:/usr/share/nginx/html
|
|
||||||
- ./data/default.conf:/etc/nginx/conf.d/default.conf
|
|
||||||
- ./data/disk:/data
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
14
ariang/Dockerfile
Normal file
14
ariang/Dockerfile
Normal 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
6
ariang/README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
AriaNg
|
||||||
|
======
|
||||||
|
|
||||||
|
[AriaNg][1] is a modern web frontend making aria2 easier to use.
|
||||||
|
|
||||||
|
[1]: https://github.com/mayswind/AriaNg
|
||||||
7
ariang/docker-compose.yml
Normal file
7
ariang/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
ariang:
|
||||||
|
image: vimagick/ariang
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user