mirror of
https://github.com/wahyd4/aria2-ariang-docker.git
synced 2026-08-08 21:05:50 +10:00
Update readme about how to mount aria2.conf and aria2.session
This commit is contained in:
+2
-2
@@ -71,7 +71,7 @@ File Browser
|
||||
-v /yourdata:/data \
|
||||
-v /app/a.db:/app/filebrowser.db \
|
||||
-v /yoursslkeys/:/app/conf/key \
|
||||
-v <to your aria2.conf>:/app/conf/aria2.conf \
|
||||
-v <the folder of aria2.conf and aria2.session>:/app/conf \
|
||||
wahyd4/aria2-ui
|
||||
```
|
||||
### 使用docker-compose 运行
|
||||
@@ -107,7 +107,7 @@ services:
|
||||
### 支持的 Docker volume 属性
|
||||
* `/data` 用来放置所有下载的文件的目录
|
||||
* `/app/conf/key` 用户来放置 Aria2 SSL `certificate`证书和 `key` 文件. `注意`: 证书的名字必须是 `aria2.crt`, Key 文件的名字必须是 `aria2.key`
|
||||
* `/app/conf/aria2.conf` 为 aria2 的配置文件,你可以映射自己的配置文件。
|
||||
* `/app/conf` 该目录下可以放置你的自定义`aria2.conf`配置文件,`aria2.session`,且必须包含这两个文件。第一次使用`aria2.session`时,创建一个空文件即可,该文件会包含aria2当前的下载列表,这样即使容器被销毁也不用担心文件列表丢失了。你也可以直接拷贝当前项目下`conf`目录中的两个文件并使用。
|
||||
* `/app/filebrowser.db` File Browser 的内嵌数据库,升级Docker 镜像也不用担心之前的设置丢失。请确保在宿主机先创建一个空文件再使用。
|
||||
|
||||
## 自动 SSL
|
||||
|
||||
@@ -77,7 +77,7 @@ File Browser
|
||||
-v /yourdata:/data \
|
||||
-v /app/a.db:/app/filebrowser.db \
|
||||
-v /yoursslkeys/:/app/conf/key \
|
||||
-v <to your aria2.conf>:/app/conf/aria2.conf \
|
||||
-v <the folder of aria2.conf and aria2.session>:/app/conf \
|
||||
wahyd4/aria2-ui
|
||||
```
|
||||
### Run with docker-compose
|
||||
@@ -113,7 +113,7 @@ Then just run `docker-compose up -d`, that's it!
|
||||
### Supported Volumes
|
||||
* `/data` The folder which contains all the files you download.
|
||||
* `/app/conf/key` The folder which stored Aria2 SSL `certificate` and `key` file. `Notice`: The certificate file should be named `aria2.crt` and the key file should be named `aria2.key`
|
||||
* `/app/conf/aria2.conf` The Aria2 configuration file.
|
||||
* `/app/conf` The Aria2 configuration and file session folder. Make sure you have `aria2.conf` and `aria2.session` file. For the first time `aria2.session` just need to be a empty file can be appended. You can also user the templates for these two file in the `conf` folder of this project.
|
||||
* `/app/filebrowser.db` File Browser settings database, make sure you make a empty file first on your host.
|
||||
|
||||
## Auto SSL enabling
|
||||
|
||||
Reference in New Issue
Block a user