diff --git a/aria2/arm/Dockerfile b/aria2/arm/Dockerfile new file mode 100644 index 0000000..33b8403 --- /dev/null +++ b/aria2/arm/Dockerfile @@ -0,0 +1,24 @@ +# +# 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} diff --git a/aria2/arm/data/aria2.conf b/aria2/arm/data/aria2.conf new file mode 100644 index 0000000..15004a5 --- /dev/null +++ b/aria2/arm/data/aria2.conf @@ -0,0 +1,11 @@ +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 diff --git a/aria2/arm/docker-compose.yml b/aria2/arm/docker-compose.yml new file mode 100644 index 0000000..95e87af --- /dev/null +++ b/aria2/arm/docker-compose.yml @@ -0,0 +1,19 @@ +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 diff --git a/ariang/arm/Dockerfile b/ariang/arm/Dockerfile new file mode 100644 index 0000000..06034ac --- /dev/null +++ b/ariang/arm/Dockerfile @@ -0,0 +1,14 @@ +# +# Dockerfile for AriaNg-arm +# + +FROM arm32v7/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/arm/docker-compose.yml b/ariang/arm/docker-compose.yml new file mode 100644 index 0000000..2f4aa14 --- /dev/null +++ b/ariang/arm/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3.8" +services: + ariang: + image: easypi/ariang-arm + ports: + - "8080:80" + restart: unless-stopped