mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update aria2
This commit is contained in:
parent
82a9f725ea
commit
9f9212f0ea
@ -101,7 +101,7 @@ A collection of delicious docker recipes.
|
||||
- [x] alpine-arm :+1:
|
||||
- [x] apacheds
|
||||
- [x] aria2 :+1:
|
||||
- [x] ariang
|
||||
- [x] ariang :cn:
|
||||
- [x] cadvisor
|
||||
- [x] casperjs :+1:
|
||||
- [x] freegeoip
|
||||
|
@ -5,8 +5,6 @@
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV TOKEN=00000000-0000-0000-0000-000000000000
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache aria2 \
|
||||
&& aria2c https://github.com/tianon/gosu/releases/download/1.14/gosu-amd64 -o /usr/local/bin/gosu \
|
||||
@ -16,8 +14,10 @@ RUN set -xe \
|
||||
COPY ./data/aria2.conf /etc/aria2/
|
||||
VOLUME /data /etc/aria2
|
||||
WORKDIR /data
|
||||
|
||||
EXPOSE 6800
|
||||
|
||||
ENV TOKEN=00000000-0000-0000-0000-000000000000
|
||||
|
||||
CMD set -xe \
|
||||
&& chown -R aria2:aria2 /data \
|
||||
&& gosu aria2 aria2c --conf-path=/etc/aria2/aria2.conf \
|
||||
|
@ -71,8 +71,8 @@ $ ln -s /mnt/usb disk
|
||||
$ cd html
|
||||
$ curl -sSL https://github.com/binux/yaaw/archive/master.tar.gz | tar xz --strip 1
|
||||
####################################################################################
|
||||
# wget https://github.com/mayswind/AriaNg/releases/download/1.2.2/AriaNg-1.2.2.zip #
|
||||
# unzip AriaNg-1.2.2.zip #
|
||||
# wget https://github.com/mayswind/AriaNg/releases/download/1.2.4/AriaNg-1.2.4.zip #
|
||||
# unzip AriaNg-1.2.4.zip #
|
||||
####################################################################################
|
||||
$ vim docker-compose.yml
|
||||
$ docker-compose up -d
|
||||
|
@ -1,24 +0,0 @@
|
||||
#
|
||||
# Dockerfile for aria2
|
||||
#
|
||||
|
||||
FROM arm32v7/alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV TOKEN=00000000-0000-0000-0000-000000000000
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache aria2 \
|
||||
&& aria2c https://github.com/tianon/gosu/releases/download/1.14/gosu-armhf -o /usr/local/bin/gosu \
|
||||
&& chmod +x /usr/local/bin/gosu \
|
||||
&& adduser -D aria2
|
||||
|
||||
COPY ./data/aria2.conf /etc/aria2/
|
||||
VOLUME /data /etc/aria2
|
||||
WORKDIR /data
|
||||
|
||||
EXPOSE 6800
|
||||
CMD set -xe \
|
||||
&& chown -R aria2:aria2 /data \
|
||||
&& gosu aria2 aria2c --conf-path=/etc/aria2/aria2.conf \
|
||||
--rpc-secret=${TOKEN}
|
@ -1,11 +0,0 @@
|
||||
dir=/data
|
||||
disable-ipv6=true
|
||||
enable-rpc=true
|
||||
max-download-limit=0
|
||||
max-upload-limit=0
|
||||
rpc-allow-origin-all=true
|
||||
rpc-listen-all=true
|
||||
rpc-listen-port=6800
|
||||
rpc-secret=00000000-0000-0000-0000-000000000000
|
||||
seed-ratio=0
|
||||
seed-time=0
|
@ -1,19 +0,0 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
aria2:
|
||||
image: easypi/aria2-arm
|
||||
ports:
|
||||
- "6800:6800"
|
||||
volumes:
|
||||
- ./data/disk:/data
|
||||
environment:
|
||||
- TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db
|
||||
restart: unless-stopped
|
||||
|
||||
webui:
|
||||
image: easypi/ariang-arm
|
||||
ports:
|
||||
- "8080:80"
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user