Update README.md to introduce raspberry dockerfile (ARM)

This commit is contained in:
anthonyraymond 2016-12-29 20:27:25 +01:00
parent de10a16823
commit 552faf72e0

View File

@ -35,6 +35,11 @@ Well, you need aria2. And a web browser (if that even counts!)
Docker support Docker support
============== ==============
There is two Dockerfile in this project, one is a common Dockerfile, which can be use for **testing purpose**.<br>
The second is a **production ready** Dockerfile for raspberry and other ARM plateforms.
### For testing purpose
You can also try or use webui-aria2 in your LAN inside a Docker sandbox. You can also try or use webui-aria2 in your LAN inside a Docker sandbox.
Build the image Build the image
@ -51,6 +56,28 @@ sudo docker run -v /Downloads:/data -p 6800:6800 -p 9100:8080 --name="webui-aria
`/Downloads` is the directory in the host where you want to keep the downloaded files `/Downloads` is the directory in the host where you want to keep the downloaded files
### Production ready (ARM platform)
This image contains both aria2 and webui-aria2.
Build it
```
docker build -f rpi-Dockerfile -t yourname/webui-aria2 .
```
Prepare the host volume:
This image required few file to be mounted in the container's `/data` folder.
```
.aria2/session.txt (empty file)
.aria2/aria2.log (empty file)
.aria2/aria2.conf (aria2 configuration file, not webui-aria2 conf)
./downloads/ (where the downloaded files goes)
```
Run it
```
docker run -d -v /home/<USER>/data/aria2:/data -p 6800:6800 -p 9100:8080 --name="webui-aria2" yourname/webui-aria2
```
Support Support
======= =======
For any support, feature request and bug report add an issue in the github project. [link](https://github.com/ziahamza/webui-aria2/issues) For any support, feature request and bug report add an issue in the github project. [link](https://github.com/ziahamza/webui-aria2/issues)