44
55用于OpenList获取部分网盘API的接口和页面
66
7- 部署地址:[ OpenList Token 获取工具] ( https://api.oplist.org/ )
7+ 部署地址:[ OpenList Token 获取工具 - 全球站点] ( https://api.oplist.org/ )
8+ 部署地址:[ OpenList Token 获取工具 - 中国大陆] ( https://api.oplist.org/ )
89
910## 部署方法
1011
@@ -42,6 +43,7 @@ docker pull ghcr.io/openlistteam/openlist_api_server:latest
4243docker run -d --name oplist-api-server \
4344 -p 3000:3000 \
4445 -e OPLIST_MAIN_URLS="api.example.com" \
46+ -e OPLIST_PROXY_API="gts.example.com" \
4547 -e OPLIST_ONEDRIVE_UID= `#optional` \
4648 -e OPLIST_ONEDRIVE_KEY= `#optional` \
4749 -e OPLIST_ALICLOUD_UID= `#optional` \
@@ -72,6 +74,7 @@ docker run -d --name oplist-api-server \
7274| 变量名称 | 必要 | 变量类型 | 变量说明 |
7375| -------------- | ---- | -------- | --------------------------|
7476| ` OPLIST_MAIN_URLS ` | 是 | string | 绑定主域名,示例:api.example.com |
77+ | ` OPLIST_PROXY_API ` | 否 | string | 部署在大陆的节点需要指定代理谷歌 |
7578| ` OPLIST_ONEDRIVE_UID ` | 否 | string | OneDrive 客户端ID |
7679| ` OPLIST_ONEDRIVE_KEY ` | 否 | string | OneDrive 客户端密钥 |
7780| ` OPLIST_ALICLOUD_UID ` | 否 | string | 阿里云盘开发者AppID |
@@ -113,6 +116,7 @@ cp wrangler.example.jsonc wrangler.encrypt.jsonc
113116```
114117 "vars": {
115118 "MAIN_URLS": "api.example.com",
119+ "PROXY_API": "gts.example.com",
116120 "onedrive_uid": "*****************************",
117121 "onedrive_key": "*****************************",
118122 "alicloud_uid": "*****************************",
@@ -135,9 +139,10 @@ cp wrangler.example.jsonc wrangler.encrypt.jsonc
135139
136140### 变量说明
137141
138- | 变量名称 | 必要 | 变量类型 | 变量说明 |
139- | -------------- | ---- | -------- | -------------------------- |
142+ | 变量名称 | 必要 | 变量类型 | 变量说明 |
143+ | -------------- | ---- | -------- | -------------------|
140144| ` MAIN_URLS ` | 是 | string | 绑定主域名,示例:api.example.com |
145+ | ` PROXY_API ` | 否 | string | 部署在大陆的节点需要指定代理谷歌 |
141146| ` onedrive_uid ` | 否 | string | OneDrive 客户端ID |
142147| ` onedrive_key ` | 否 | string | OneDrive 客户端密钥 |
143148| ` alicloud_uid ` | 否 | string | 阿里云盘开发者AppID |
0 commit comments