1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-27 09:18:43 +00:00
This commit is contained in:
kev 2015-07-05 12:32:56 +08:00
parent 365a2252fc
commit d675429574

@ -17,12 +17,14 @@ aria2
│ ├── index.html
│ ├── js/...
│ └── offline.appcache
├── data/
├── data -> /home/aria2/
└── keys/
├── server.crt
└── server.key
```
> You may make `data` a symbolic link to `/home/aria2` or somewhere else.
## docker-compose.yml
```
@ -49,8 +51,9 @@ yaaw:
## server
```
$ mkdir -p ~/fig/aria2/{html,data,keys}/
$ mkdir -p ~/fig/aria2/{html,keys}/
$ cd ~/fig/aria2/
$ ln -s /home/aria2 data
$ curl -sSL https://github.com/binux/yaaw/archive/master.tar.gz | tar xz --strip 1 -C html
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout keys/server.key -out keys/server.crt
$ vim docker-compose.yml