mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user