This commit is contained in:
sanjusss
2019-12-23 21:54:12 +08:00
parent 74061ac37d
commit 00527d3f19
6 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -10,6 +10,7 @@ ENV DOMAIN=0.0.0.0:80
ENV ARIA2_USER=user
ENV ARIA2_PWD=password
ENV ARIA2_SSL=false
ENV ARIA2_OUTSIDE_PORT=80
ENV PUID=1000
ENV PGID=1000
@@ -41,8 +42,7 @@ RUN mkdir /usr/local/www/aria2/Download \
&& wget -N --no-check-certificate https://github.com/mayswind/AriaNg/releases/download/${version}/AriaNg-${version}.zip \
&& unzip AriaNg-${version}.zip \
&& rm -rf AriaNg-${version}.zip \
&& chmod -R 755 /usr/local/www/aria2 \
&& sed -i 's/6800/80/g' /usr/local/www/aria2/js/aria-ng*.js
&& chmod -R 755 /usr/local/www/aria2
# folder for storing ssl keys
VOLUME /app/conf/key