1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:50 +02:00

update aria2

This commit is contained in:
kev 2016-05-06 22:37:03 +08:00
parent 3ef4e23ec0
commit 3aaaa120fa
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ ENV TOKEN 00000000-0000-0000-0000-000000000000
RUN set -xe \
&& apk add -U aria2 \
&& 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 \
&& adduser -D aria2

View File

@ -38,17 +38,17 @@ aria2:
volumes:
- "./data:/home/aria2"
- "./keys:/etc/aria2/keys"
# - "./aria2.conf:/etc/aria2.conf"
# - "./aria2.conf:/etc/aria2/aria2.conf"
environment:
- TOKEN=e6c3778f-6361-4ed0-b126-f2cf8fca06db
restart: always
yaaw:
image: vimagick/h2o
image: vimagick/nginx
ports:
- "8080:80"
volumes:
- ./html:/var/www/html
- ./html:/usr/share/nginx/html
restart: always
```

View File

@ -10,9 +10,9 @@ aria2:
restart: always
yaaw:
image: vimagick/h2o
image: vimagick/nginx
ports:
- "8080:80"
volumes:
- ./html:/var/www/html
- ./html:/usr/share/nginx/html
restart: always