Commit e324830 1 parent 2cf6da2 commit e324830 Copy full SHA for e324830
File tree 9 files changed +71
-30
lines changed
9 files changed +71
-30
lines changed Original file line number Diff line number Diff line change 1
1
# v2ray-heroku
2
2
3
+ 首先查看别人的 [ youtube 教程] ( https://www.youtube.com/watch?v=xHZyDsFYdvA ) ,了解怎么配置 v2ray-heroku。如果你还想自动化你的 heroku,请查看下面的教程。
4
+
5
+ 本项目是包含,
6
+
7
+ - 一键部署 V2ray 到 heroku。
8
+ - 利用 Github action 实现 重新部署/停止/启动。
9
+ - 利用 cloudflare CDN 进行加速。
10
+
11
+ ``` text
12
+ 项目Dockerfile是基于V2fly 官方镜像制作。仅仅增加生产配置文件的脚本。后续,可以通过Actions 实现更新。
13
+ ```
14
+
3
15
## 一键部署
4
16
5
- ## github actions 管理
17
+ [ ![ Deploy] ( https://www.herokucdn.com/deploy/button.svg )] ( https://dashboard.heroku.com/new?template=https://github.com/zizifn/v2ray-heroku/tree/main )
18
+
19
+ ## Github Actions 管理
20
+
21
+ 请 Fork 本项目到自己的账户下。 Actions 需要以下 Secrets 才能正常工作,这些 Secrets 会被 workflow 中的 [ akhileshns/heroku-deploy] ( ./https://github.com/AkhileshNS/heroku-deploy ) 使用。
22
+
23
+ 具体实现细节,请查看 [ workflow 配置文件] ( ./github/workflows/main.yml ) .
24
+
25
+ | Name | Description |
26
+ | ----------------- | ------------------------------------------ |
27
+ | APP_NAME | 就是你 heroku 项目的名字 |
28
+ | EMAIL | heroku 账户的 email |
29
+ | HEROKU_API_KEY | heroku API key, 在 account 设置下可以找到 |
30
+ | HEROKU_V2RAY_UUID | V2rayUUID |
31
+
32
+ ### Github Secrets
33
+
34
+ 路径
35
+
36
+ ``` text
37
+ 项目Setting-->Secrets
38
+ ```
39
+
40
+ ![ Secrets] ( ./readme-data/GithubSecrets.gif )
41
+
42
+ ### Heroku API key
43
+
44
+ 路径
45
+
46
+ ``` text
47
+ heroku Account settings-->API key
48
+ ```
49
+
50
+ ![ Secrets] ( ./readme-data/herokuapikey.gif )
51
+
52
+ ### Github Actions 界面
53
+
54
+ ``` text
55
+ Actions
56
+ ```
57
+
58
+ ![ Actions] ( ./readme-data/githubactions.gif )
6
59
7
60
### 重新部署
8
61
62
+ 点击 ` Run workflow ` , 输入 deploy。 然后就会重新 deploy。
63
+
64
+ ![ deploy] ( ./readme-data/deploy.jpg )
65
+
9
66
### 停止
10
67
68
+ 点击 ` Run workflow ` , 输入 stop。 然后就会 stop,不在计入小时数。
69
+ ![ stop] ( ./readme-data/stop.jpg )
70
+
11
71
### 启动
72
+
73
+ 点击 ` Run workflow ` , 输入 start。 然后就会启动。
74
+
75
+ ![ start] ( ./readme-data/start.jpg )
76
+
77
+ ## 建立 cloudflare worker
78
+
79
+ 可以参考
Original file line number Diff line number Diff line change 10
10
"value" : " ce7ea10b-5b27-49ab-a93d-6b184df9cce9"
11
11
}
12
12
},
13
- "website" : " https://ibcl.us/Heroku-V2Ray_20191014/ " ,
14
- "repository" : " https://github.com/bclswl0827 /v2ray-heroku" ,
13
+ "website" : " https://github.com/zizifn/v2ray-heroku " ,
14
+ "repository" : " https://github.com/zizifn /v2ray-heroku" ,
15
15
"stack" : " container"
16
16
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments