mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
chore: 添加多app和账户的文档。
This commit is contained in:
19
README.md
19
README.md
@@ -1,5 +1,7 @@
|
||||
# v2ray-heroku
|
||||
|
||||
> 貌似新建的app都需要科学访问,请使用cloudflare CDN 套一层。
|
||||
|
||||
> 遇到问题,请开 issue/discussions。
|
||||
|
||||
> 切换到最新的 VLESS 协议。具体客户端配置请看 config 章节。
|
||||
@@ -15,6 +17,7 @@
|
||||
|
||||
- 一键部署 V2ray 到 heroku。
|
||||
- 利用 Github action 实现 重新部署/停止/启动。
|
||||
- 支持多app和多账户 重新部署/停止/启动。
|
||||
- 利用 cloudflare CDN 进行加速。
|
||||
|
||||
```text
|
||||
@@ -100,6 +103,7 @@ Actions
|
||||
|
||||

|
||||
|
||||
|
||||
## 建立 cloudflare worker
|
||||
|
||||
可以参考 开头的视频。代码如下。
|
||||
@@ -116,6 +120,21 @@ addEventListener("fetch", (event) => {
|
||||
为 worker 选择速度更快的 IP。
|
||||
https://github.com/badafans/better-cloudflare-ip
|
||||
|
||||
## 使用 Environments 实现 多账户/多app Secrets 管理
|
||||
|
||||
文档介绍: https://docs.github.com/en/actions/deployment/using-environments-for-deployment
|
||||
|
||||
### 建立 Environments, 并添加 Secrets
|
||||
|
||||
1. 创建 Environments
|
||||

|
||||
2. 添加 Secrets
|
||||

|
||||
|
||||
### 输入环境名字
|
||||
**一定要确保环境名字是对的,要不然就会用主的Secrets。**
|
||||

|
||||
|
||||
## VLESS websocket 客户端配置
|
||||
|
||||
### JSON
|
||||
|
||||
BIN
readme-data/Environments.png
Normal file
BIN
readme-data/Environments.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
BIN
readme-data/EnvironmentsDeploy.png
Normal file
BIN
readme-data/EnvironmentsDeploy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
BIN
readme-data/EnvironmentsSercet.png
Normal file
BIN
readme-data/EnvironmentsSercet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
Reference in New Issue
Block a user