Skip to content

Commit

Permalink
README and EXPOSE port in Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
aoxiangtianji committed Apr 14, 2024
1 parent 6700446 commit c02a10a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY UpdateTracker.sh /etc/periodic/daily/
ENV DOWNLOAD_DIR=/root/Download
ENV RPC_LISTEN_PORT=6800
ENV RPC_SECRET=ARIA2
ENV BT_LISTEN_PORT=51413
ENV BT_LISTEN_PORT=6900
ENV SHOW_CONSOLE_READOUT=true
ENV DISK_CACHE=64M
ENV FILE_ALLOCATION=none
Expand All @@ -20,4 +20,8 @@ RUN apk -U upgrade && \

VOLUME /root/.aria2

EXPOSE 6800/tcp
EXPOSE 6900/tcp
EXPOSE 6900/udp

CMD ["/entrypoint.sh"]
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 一个简单的Aira2容器

感谢P3TERX和他的Docker-Aria2-Core项目。

0 comments on commit c02a10a

Please sign in to comment.