-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleaderos-egg.json
42 lines (42 loc) · 2.3 KB
/
leaderos-egg.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
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-03-17T21:08:16+01:00",
"name": "LeaderOS",
"author": "contact@leaderos.net",
"description": "Host LeaderOS software on Pterodactyl Panel.",
"features": null,
"docker_images": {
"LeaderOS Nginx + PHP 7.4": "leaderos\/leaderos-pterodactyl:latest"
},
"file_denylist": [],
"startup": ".\/start.sh",
"config": {
"files": "{\r\n \"nginx\/conf.d\/default.conf\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" listen \": \" listen {{server.build.default.port}};\",\r\n \" server_name \": \" server_name {{server.build.env.DOMAIN}} www.{{server.build.env.DOMAIN}};\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": "#!\/bin\/ash\r\n\r\ncd \/mnt\/server\r\n\r\napk --update add git unzip\r\n\r\ngit clone https:\/\/github.com\/leaderos-net\/leaderos-pterodactyl-egg .\/temp\r\n\r\ncp -r .\/temp\/nginx \/mnt\/server\/\r\ncp -r .\/temp\/php-fpm \/mnt\/server\/\r\ncp -r .\/temp\/logs \/mnt\/server\/\r\ncp -r .\/temp\/webroot \/mnt\/server\/\r\ncp .\/temp\/start.sh \/mnt\/server\/\r\nchmod +x \/mnt\/server\/start.sh\r\nrm -rf .\/temp\r\n\r\necho -e \"Downloading LeaderOS...\"\r\ncd \/mnt\/server\/webroot\r\nwget https:\/\/installer.leaderos.net\/latest.zip\r\nunzip latest.zip\r\nrm -rf latest.zip\r\nrm install.php\r\nrm index.php\r\necho -e \"Download complete!\"\r\necho -e \"Go to http:\/\/ip:port\/install\"\r\nexit 0",
"container": "alpine:latest",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Domain",
"description": "Enter your domain: (Example: yourdomain.com)",
"env_variable": "DOMAIN",
"default_value": "yourdomain.com",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:255",
"field_type": "text"
}
]
}