-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.doc.jsonc
More file actions
72 lines (72 loc) · 2.66 KB
/
config.doc.jsonc
File metadata and controls
72 lines (72 loc) · 2.66 KB
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
{
"token": "A_RANDOM_TOKEN_FOR_THE_PANEL",
"apiPort": 8001,
"gatewayPort": 8002,
"ftpPort": 2121,
"ftpPassiveMinPort": 21000,
"ftpPassiveMaxPort": 21010,
"ftpCredentials": {
"myUser": {
"password": "myPassword",
"root": "/home/me/servers/myWebsite"
}
},
"servers": [
{
"name": "My-NodeJS-Server",
"type": "nodejs",
"dockerImage": "cnode:24",
"startCommand": "node index.js", // Optional
"mainFile": "index.js", // Optional
"ports": {}, // Optional, if not provided, the server will be network host
"volumes": {}, // Optional
"environmentVariables": {}, // Optional
"deployment": { // Optional
"buildCommand": "npm run build", // Optional, if not provided, the server will be deployed without building
"installDev": false, // Optional
"githubRepo": "MyGitHubUser/MyNodeJsRepo",
"githubBranch": "main",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN", // Optional
"ignoredFiles": [] // Optional
}
},
{
"name": "My-Python-Server",
"type": "python",
"dockerImage": "cpython:3.11",
"startCommand": "python main.py", // Optional
"mainFile": "main.py", // Optional
"ports": {}, // Optional, if not provided, the server will be network host
"volumes": {}, // Optional
"environmentVariables": {}, // Optional
"deployment": { // Optional
"githubRepo": "MyGitHubUser/MyPythonRepo",
"githubBranch": "master",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN", // Optional
"ignoredFiles": [] // Optional
}
},
{
"name": "My-Static-Website",
"type": "website",
"deployment": {
"githubRepo": "MyGitHubUser/MyWebsiteRepo",
"githubBranch": "newfeature",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN", // Optional
"ignoredFiles": [] // Optional
}
},
{
"name": "My-ReactJs-Website",
"type": "reactjs",
"deployment": { // Optional
"dockerImage": "cnode:24",
"githubRepo": "Raraph84/Deploy-Server-Frontend",
"githubBranch": "main",
"githubAuth": "ghp_MY_GITHUB_ACCESS_TOKEN", // Optional
"ignoredFiles": [], // Optional
"installDev": false // Optional
}
}
]
}