Merge pull request #343 from anthonyraymond/master
No hardcored config in Dockerfile
This commit is contained in:
commit
01ced2ff94
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user