No hardcored config in Dockerfile

This commit is contained in:
anthonyraymond 2017-05-01 01:19:26 +02:00
parent 0b072bc6d6
commit cc12c377e5
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ RUN curl -L "https://storage.googleapis.com/golang/go1.8.linux-armv6l.tar.gz" >
&& unset GOROOT && unset GOPATH && unset GOROOT && unset GOPATH
# goreman setup # goreman setup
RUN echo "web: gosu aria /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu aria /usr/bin/aria2c --enable-rpc --rpc-listen-all --conf-path=/data/.aria2/aria2.conf" > Procfile RUN echo "web: gosu aria /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu aria /usr/bin/aria2c --conf-path=/data/.aria2/aria2.conf" > Procfile
# aria2 downloads directory # aria2 downloads directory
VOLUME /data VOLUME /data

View File

@ -69,7 +69,7 @@ This image required few file to be mounted in the container's `/data` folder.
``` ```
.aria2/session.txt (empty file) .aria2/session.txt (empty file)
.aria2/aria2.log (empty file) .aria2/aria2.log (empty file)
.aria2/aria2.conf (aria2 configuration file, not webui-aria2 conf) .aria2/aria2.conf (aria2 configuration file, not webui-aria2 conf) must contains at least `enable-rpc=true` and `rpc-listen-all=true`
./downloads/ (where the downloaded files goes) ./downloads/ (where the downloaded files goes)
``` ```