Update Dockerfile again, separating the EXPOSE directives, adding tcp, and commenting them.
This commit is contained in:
parent
970f06ce7d
commit
22ca1a2cbc
|
@ -25,8 +25,14 @@ RUN GITHUB_REPO="https://github.com/mattn/goreman" \
|
|||
# goreman setup
|
||||
RUN echo "web: gosu dummy /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu dummy /usr/bin/aria2c --enable-rpc --rpc-listen-all --dir=/data" > Procfile
|
||||
|
||||
# aria2 downloads directory
|
||||
VOLUME /data
|
||||
EXPOSE 8080 6800
|
||||
|
||||
# aria2 RPC port, map as-is or reconfigure webui
|
||||
EXPOSE 6800/tcp
|
||||
|
||||
# webui static content web server, map wherever is convenient
|
||||
EXPOSE 8080/tcp
|
||||
|
||||
CMD ["start"]
|
||||
ENTRYPOINT ["/usr/local/bin/goreman"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user