群辉NAS搭建WARP-Clash-API - 保姆级教程 #187
Replies: 8 comments 4 replies
-
修改前端样式修改群辉NAS内自建的templates/index.html。 调整内容:
整体代码如下:
手机效果图:
|
Beta Was this translation helpful? Give feedback.
-
请问我登上zero帐号后,设备key是哪个? |
Beta Was this translation helpful? Give feedback.
-
不错,不错,谢谢大佬 |
Beta Was this translation helpful? Give feedback.
-
求个op的docker部署教程 |
Beta Was this translation helpful? Give feedback.
-
关于Zero账户获取key,我没试过,参考一下这位好腿子的: |
Beta Was this translation helpful? Give feedback.
-
warp流量有增加,但21001端口无法打开,报错The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. |
Beta Was this translation helpful? Give feedback.
-
我自己研究了个手机版本 |
Beta Was this translation helpful? Give feedback.
-
所以这个是干嘛的 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
群辉NAS搭建WARP-Clash-API - 保姆级教程:
我是在群辉NAS的docker里部署的,没有一键安装,参数是按照vvbbnn00在其他帖子里的回复,拼出来的映射,群辉安装过程:
1、下载WARP-Clash-API
打开docker(Container Manager) --- 注册表 ---搜索
WARP-Clash-API
,找到vvbbnn00大佬的下载默认latest
版本就行。2、预置文件
在NAS任意位置新建文件夹:
account
和logs
,空的文件夹就行。3、开始安装映像
打开docker --- 映像 --- WARP-Clash-API 进行安装,安装过程重点:
3.1、映射端口
21001->3000
3.2、映射文件夹和文件:
群辉内自建的文件夹 account =>
/app/account
群辉内自建的文件夹 logs =>
/app/logs
3.3、映射环境变量:
安装时默认会有一些变量,那些不动,在下面新增变量,按照WARP-Clash-API教程里的变量填写就行,例如:
其他变量看自己需要,详见变量说明
3.4、映射网络
默认的
bridge
映射参考图:
4、启动、等待生成
account.json
运行后,稍等个2-3分钟,程序启动后,群辉内自建的文件夹 account 内会生成一个
account.json
文件。此时先停止容器运行,准备修改成自己的ID。
5、获取设备key
打开你手机上安装的warp,右上角菜单 - 账户 - “按键”(我这IOS就是这么翻译的...),对应修改到
account.json
中的license_key
。6、获取设备ID
打开你手机上安装的warp,右上角菜单 - 高级 - 诊断 - 客户端配置栏 - ID,对应修改到
account.json
中的account_id
。7、重启容器看是否成功
保存account.json后,再运行容器,过个3-5分钟,刷新手机warp看看流量有没有加。
补充说明:
最后,感谢vvbbnn00大佬!
Beta Was this translation helpful? Give feedback.
All reactions