forked from Raraph84/Deploy-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
78 lines (78 loc) · 2.35 KB
/
config.example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"token": "A_RANDOM_TOKEN_FOR_THE_PANEL",
"apiPort": 8001,
"gatewayPort": 8002,
"ftpPort": 2121,
"ftpCredentials": {
"myUser": {
"password": "myPassword",
"root": "/home/me/servers/myWebsite"
}
},
"ftpPassiveMinPort": 21000,
"ftpPassiveMaxPort": 21010,
"servers": [
{
"name": "My-NodeJS-Bot",
"type": "nodejs",
"dockerImage": "mynode:20",
"mainFile": "index.js",
"deployment": {
"githubRepo": "MyGitHubUser/MyNodeJsRepo",
"githubBranch": "main",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN",
"ignoredFiles": [
"myFileOrFolderThatWillNotBeErasedOnDeploy.txt"
]
}
},
{
"name": "My-Python-Bot",
"type": "python",
"dockerImage": "rpython:3.11",
"mainFile": "main.js",
"deployment": {
"githubRepo": "MyGitHubUser/MyPythonRepo",
"githubBranch": "master",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN",
"ignoredFiles": [
"myFileOrFolderThatWillNotBeErasedOnDeploy.txt"
]
}
},
{
"name": "My-Website",
"type": "website",
"deployment": {
"githubRepo": "MyGitHubUser/MyWebsiteRepo",
"githubBranch": "newfeature",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN"
}
},
{
"name": "My-NextJs-Website",
"type": "nextjs",
"port": 8080,
"deployment": {
"githubRepo": "MyGitHubUser/MyNextJsWebsiteRepo",
"githubBranch": "dev",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN"
}
},
{
"name": "Deploy-Server-Website",
"type": "reactjs",
"buildDockerImage": "mynode:20",
"deployment": {
"githubRepo": "Raraph84/Deploy-Server-Frontend",
"githubBranch": "main",
"ignoredFiles": [
".env",
".htaccess",
".htpasswd"
],
"installDev": false
}
}
]
}