-
Notifications
You must be signed in to change notification settings - Fork 0
/
node-generic.json
53 lines (53 loc) · 1.9 KB
/
node-generic.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-04-27T22:41:56+01:00",
"name": "Node Generic",
"author": "[email protected]",
"description": "A generic egg for Node.js.",
"features": null,
"docker_images": {
"Node 20": "ghcr.io\/parkervcp\/yolks:nodejs_20",
"Node 18": "ghcr.io\/parkervcp\/yolks:nodejs_18"
},
"file_denylist": [],
"startup": "if [ -f \/home\/container\/package.json ]; then \/usr\/local\/bin\/npm install; fi; \/usr\/local\/bin\/node \/home\/container\/{{STARTUP_FILE}} {{EXTRA_ARGS}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": [\r\n \"Running on http\",\r\n \"is ready.\",\r\n \"has been loaded.\"\r\n ]\r\n}",
"logs": "{}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/sh\r\n# Installation Script\r\n\r\necho -e \"Server installation has been completed.\"\r\nexit 0",
"container": "alpine",
"entrypoint": "sh"
}
},
"variables": [
{
"name": "Startup File",
"description": "The .js file that starts the server.",
"env_variable": "STARTUP_FILE",
"default_value": "index.js",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "Extra Arguments",
"description": "Any extra arguments to pass after the file.",
"env_variable": "EXTRA_ARGS",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:50",
"field_type": "text"
}
]
}