-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathegg-open-x.json
72 lines (72 loc) · 2.83 KB
/
egg-open-x.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-11-19T15:21:51+00:00",
"name": "OpenX",
"author": "[email protected]",
"description": "OpenX upload server, Made by DanBotHosting LTD.",
"features": null,
"docker_images": {
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-16": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-16"
},
"file_denylist": [],
"startup": "if [[ -d .git ]] && [[ {{AUTO_UPDATE}} == \"1\" ]]; then git pull; fi; \/usr\/local\/bin\/node \/home\/container\/Src\/index.js",
"config": {
"files": "{\r\n \"config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"Admin.Password\": \"{{server.build.env.PASSWORD}}\",\r\n \"Web.Port\": \"{{server.build.default.port}}\",\r\n \"fileNameLength\": \"{{server.build.env.FILELENGTH}}\",\r\n \"maxUploadSize\": \"{{server.build.env.MAXUPLOAD}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"\"\r\n}",
"logs": "{}",
"stop": "^c"
},
"scripts": {
"installation": {
"script": "#\/bin\/ash\r\n\r\napk add --no-cache git make gcc g++ python\r\n\r\ncd \/mnt\/server\r\n\r\ngit clone https:\/\/github.com\/Wizqdev\/OpenX\/ .\r\n\r\n\/usr\/local\/bin\/npm install\r\n\r\necho -e \"install complete\"\r\nexit 0",
"container": "node:10-alpine",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Password",
"description": "",
"env_variable": "PASSWORD",
"default_value": "changeme",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "File Name Length",
"description": "",
"env_variable": "FILELENGTH",
"default_value": "8",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:20",
"field_type": "text"
},
{
"name": "Max Upload Size",
"description": "",
"env_variable": "MAXUPLOAD",
"default_value": "1024",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:4",
"field_type": "text"
},
{
"name": "Auto Update",
"description": "",
"env_variable": "AUTO_UPDATE",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "required|boolean|max:2",
"field_type": "text"
}
]
}