mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update aria2
This commit is contained in:
@@ -10,7 +10,7 @@ ENV TOKEN 00000000-0000-0000-0000-000000000000
|
|||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add -U aria2 \
|
&& apk add -U aria2 \
|
||||||
&& rm -rf /var/cache/apk/* \
|
&& rm -rf /var/cache/apk/* \
|
||||||
&& aria2c https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64 -o /usr/local/bin/gosu \
|
&& aria2c https://github.com/tianon/gosu/releases/download/1.8/gosu-amd64 -o /usr/local/bin/gosu \
|
||||||
&& chmod +x /usr/local/bin/gosu \
|
&& chmod +x /usr/local/bin/gosu \
|
||||||
&& adduser -D aria2
|
&& adduser -D aria2
|
||||||
|
|
||||||
|
|||||||
@@ -38,17 +38,17 @@ aria2:
|
|||||||
volumes:
|
volumes:
|
||||||
- "./data:/home/aria2"
|
- "./data:/home/aria2"
|
||||||
- "./keys:/etc/aria2/keys"
|
- "./keys:/etc/aria2/keys"
|
||||||
# - "./aria2.conf:/etc/aria2.conf"
|
# - "./aria2.conf:/etc/aria2/aria2.conf"
|
||||||
environment:
|
environment:
|
||||||
- TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db
|
- TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
yaaw:
|
yaaw:
|
||||||
image: vimagick/h2o
|
image: vimagick/nginx
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./html:/var/www/html
|
- ./html:/usr/share/nginx/html
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,9 @@ aria2:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
yaaw:
|
yaaw:
|
||||||
image: vimagick/h2o
|
image: vimagick/nginx
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./html:/var/www/html
|
- ./html:/usr/share/nginx/html
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user