docs: update README to add Docker deployment option

This commit is contained in:
SunBK201 2024-11-14 01:18:50 +08:00
parent 32662aa3e7
commit 6ad4a7c398

View File

@ -16,7 +16,7 @@ UA3F 是下一代 HTTP User-Agent 修改方法,对外作为一个 SOCK5 服务
## 部署 ## 部署
提供 3 种部署方式: 提供 4 种部署方式:
1. 使用 ipk 安装包进行部署: 1. 使用 ipk 安装包进行部署:
@ -43,6 +43,12 @@ make download -j$(nproc) V=s
make -j$(nproc) || make -j1 || make -j1 V=sc # make package/UA3F/openwrt/compile -j1 V=sc # 编译单个包 make -j$(nproc) || make -j1 || make -j1 V=sc # make package/UA3F/openwrt/compile -j1 V=sc # 编译单个包
``` ```
4. Docker 部署
```sh
docker run -p 1080:1080 sunbk201/ua3f -f FFF
```
## 使用 ## 使用
UA3F 支持 LuCI Web 页面,可以打开 Services -> UA3F 进行相关配置。 UA3F 支持 LuCI Web 页面,可以打开 Services -> UA3F 进行相关配置。