mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-29 18:21:24 +00:00
update
This commit is contained in:
parent
365a2252fc
commit
d675429574
@ -17,12 +17,14 @@ aria2
|
|||||||
│ ├── index.html
|
│ ├── index.html
|
||||||
│ ├── js/...
|
│ ├── js/...
|
||||||
│ └── offline.appcache
|
│ └── offline.appcache
|
||||||
├── data/
|
├── data -> /home/aria2/
|
||||||
└── keys/
|
└── keys/
|
||||||
├── server.crt
|
├── server.crt
|
||||||
└── server.key
|
└── server.key
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> You may make `data` a symbolic link to `/home/aria2` or somewhere else.
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -49,8 +51,9 @@ yaaw:
|
|||||||
## server
|
## server
|
||||||
|
|
||||||
```
|
```
|
||||||
$ mkdir -p ~/fig/aria2/{html,data,keys}/
|
$ mkdir -p ~/fig/aria2/{html,keys}/
|
||||||
$ cd ~/fig/aria2/
|
$ 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
|
$ 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
|
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout keys/server.key -out keys/server.crt
|
||||||
$ vim docker-compose.yml
|
$ vim docker-compose.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user