mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-15 08:16:19 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8fbc2bb854 | ||
|
|
e1c398c9d3 | ||
|
|
c3a5fda0a7 | ||
|
|
a6c4ab584d | ||
|
|
c81da61cec |
+1
-1
@@ -1 +1 @@
|
||||
5.3.0
|
||||
5.4.0
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
FROM golang:alpine AS build-forego
|
||||
FROM golang AS build-forego
|
||||
|
||||
RUN apk add --no-cache git openssh
|
||||
RUN apt update && apt install -y git
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -11,7 +11,7 @@ RUN git clone https://github.com/wahyd4/forego.git \
|
||||
&& go build -o forego \
|
||||
&& chmod +x forego
|
||||
|
||||
FROM alpine:edge
|
||||
FROM debian:stable-slim
|
||||
|
||||
LABEL AUTHOR=Junv<wahyd4@gmail.com>
|
||||
|
||||
|
||||
@@ -68,12 +68,12 @@ File Browser
|
||||
### Quick run
|
||||
|
||||
```shell
|
||||
docker run -d --name aria2-ui -p 80:80 wahyd4/aria2-ui
|
||||
docker run -d --name aria2-ui -p 8000:80 wahyd4/aria2-ui
|
||||
```
|
||||
|
||||
* Aria2: <http://yourip>
|
||||
* FileManger: <http://yourip/files>
|
||||
* Rclone: <http://yourip/rclone>
|
||||
* Aria2: <http://yourip:8000>
|
||||
* FileManger: <http://yourip:8000/files>
|
||||
* Rclone: <http://yourip:8000/rclone>
|
||||
* Please use `admin`/`admin` as username and password to login `Filebrowser` for the first time. And use `user`/`password` to login `Rclone` if you don't update `ARIA2_USER` and `ARIA2_PWD`
|
||||
|
||||
### Full features run
|
||||
|
||||
+8
-5
@@ -34,10 +34,10 @@ esac
|
||||
|
||||
filebrowser_file=${platform}-filebrowser.tar.gz
|
||||
ariang_file=AriaNg-${ariang_version}.zip
|
||||
|
||||
adduser -D -u 1000 junv \
|
||||
&& apk update \
|
||||
&& apk add runit shadow wget bash curl openrc gnupg aria2 tar mailcap fuse vim libcap --no-cache \
|
||||
groupadd junv \
|
||||
&& useradd -g junv -m -s /bin/bash junv \
|
||||
&& apt update \
|
||||
&& apt install -y wget curl aria2 tar unzip libcap2-bin runit\
|
||||
&& wget -N https://github.com/caddyserver/caddy/releases/download/v${caddy_version}/${caddy_file} \
|
||||
&& tar -zxf ${caddy_file} \
|
||||
&& mv caddy /usr/local/bin/ \
|
||||
@@ -65,6 +65,9 @@ adduser -D -u 1000 junv \
|
||||
&& unzip ${ariang_file} \
|
||||
&& rm -rf ${ariang_file} \
|
||||
&& chmod -R 755 /usr/local/www/aria2 \
|
||||
&& mkdir -p /data && chown junv:junv /data \
|
||||
&& mkdir -p /data/cloud \
|
||||
&& chown junv:junv /data/cloud \
|
||||
&& ln -s /data/cloud /app
|
||||
&& ln -s /data/cloud /app \
|
||||
&& apt remove -y unzip\
|
||||
&& apt clean
|
||||
|
||||
Reference in New Issue
Block a user