-
Notifications
You must be signed in to change notification settings - Fork 31
/
egg-crewlink-server.json
99 lines (99 loc) · 3.78 KB
/
egg-crewlink-server.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-06-01T00:17:31+00:00",
"name": "Crewlink server",
"author": "[email protected]",
"uuid": "fc3fdea2-0016-4802-875d-9acb966d7c7d",
"description": "An egg designed to allow support for Proximity Chat in Among Us using CrewLink Server",
"features": null,
"docker_images": {
"ghcr.io\/parkervcp\/yolks:nodejs_16": "ghcr.io\/parkervcp\/yolks:nodejs_16"
},
"file_denylist": [],
"startup": "yarn start",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"<info> CrewLink Server started\"\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nINSTALL_REPO=\"https:\/\/github.com\/ottomated\/crewlink-server.git\"\r\necho -e Install repo set to ${INSTALL_REPO}\r\necho -e \"\/mnt\/server is empty.\\ncloning files from repo\"\r\necho -e \"running 'git clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .'\"\r\ngit clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .\r\n\r\nif [ -f \/mnt\/server\/package.json ]; then\r\n \/usr\/local\/bin\/yarn install\r\nfi\r\n\r\necho -e \"install complete\"\r\nexit 0",
"container": "node:16-bookworm",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Github branch",
"description": "Set this to 'devel' if you wanna run a develop server.",
"env_variable": "BRANCH",
"default_value": "master",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"sort": null,
"field_type": "text"
},
{
"name": "Domain",
"description": "Domain of your server or ip of your server",
"env_variable": "ADDRESS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"sort": null,
"field_type": "text"
},
{
"name": "Server name",
"description": "Specifiy the name of your Crewlink server",
"env_variable": "NAME",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:75",
"sort": null,
"field_type": "text"
},
{
"name": "Use HTTPS",
"description": "Enables https. You must place privkey.pem and fullchain.pem in your CWD.",
"env_variable": "HTTPS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:20",
"sort": null,
"field_type": "text"
},
{
"name": "Path to SSL",
"description": "Alternate path to SSL certificates.",
"env_variable": "SSLPATH",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:250",
"sort": null,
"field_type": "text"
},
{
"name": "Port",
"description": "Choose the port your server should run on",
"env_variable": "PORT",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"sort": null,
"field_type": "text"
}
]
}