-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.jps
116 lines (116 loc) · 4.16 KB
/
manifest.jps
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"version": 0.99,
"type": "install",
"id": "pterodactyl-node",
"name": "Pterodactyl Node",
"description": {
"text": "Pterodactyl — The free self-hosted game management control panel for users, networks, and game service providers. Uses Acme.sh for automatic SSL certficates."
},
"logo": "https://raw.githubusercontent.com/dynacentri/Jelastic-Pterodactyl-Node/main/images/Pterodactyl.png",
"startPage": "https://${settings.pterodactyl_url}",
"homepage": "https://pterodactyl.io/",
"categories": [
"apps/entertainment"
],
"targetRegions": {
"type": "vz7"
},
"engine": "cp",
"nodes": [
{
"count": 1,
"fixedCloudlets": 2,
"cloudlets": 64,
"nodeGroup": "cp",
"nodeType": "dockerengine",
"extip": true,
"displayName": "Pterodactyl Node",
"startService": true,
"volumes": [
"/var/lib/pterodactyl/volumes"
]
}
],
"ssl": false,
"ha": false,
"settings": {
"fields": [
{
"hideLabel": false,
"hidden": false,
"type": "string",
"caption": "Pterodactyl Panel/Instance Domain",
"default": "",
"name": "pterodactyl_url",
"editable": false,
"required": true
},
{
"hideLabel": false,
"hidden": false,
"type": "string",
"caption": "Pterodactyl Admin API Token",
"default": "",
"name": "pterodactyl_token",
"editable": false,
"required": true
}
]
},
"addons": [
{
"version": 0.99,
"type": "update",
"id": "wings-daemon-upgrade-addon",
"name": "Pterodactyl Wings Upgrade",
"description": {
"text": "Automaticlly upgrade Pterodactyl Wings service to newest stable version."
},
"logo": "https://raw.githubusercontent.com/dynacentri/Jelastic-Pterodactyl-Node/main/images/Pterodactyl.png",
"buttons": [
{
"confirmText": "Do you want to update Wings?",
"loadingText": "Updating...",
"action": "update",
"caption": "Update Now",
"successText": "Pterodactyl Wings has been upgraded successfully."
}
],
"actions": {
"update": {
"cmd [cp]": [
"bash <(curl -s https://raw.githubusercontent.com/dynacentri/Jelastic-Pterodactyl-Node/main/scripts/upgrade-wings.sh)"
]
}
},
"success": {
"text": "Pterodactyl Wings Upgrade has been successfully completed."
}
}
],
"onInstall": [
{
"env.security.SetFirewallEnabled [cp]": {
"enabled": false
},
"nodeType": "dockerengine",
"cmd [cp]": [
"yum -y update && yum -y upgrade",
"yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm",
"yum -y repolist && yum -y history sync",
"yum -y install jq curl wget socat",
"bash <(curl -s https://raw.githubusercontent.com/dynacentri/Jelastic-Pterodactyl-Node/main/scripts/pterodactyl.sh) '${settings.pterodactyl_url}' '${settings.pterodactyl_token}' 'node${nodes.cp[0].id}-${env.domain}' '${user.email}'"
]
},
{
"installAddon": {
"id": "wings-daemon-upgrade-addon",
"nodeGroup": "cp"
}
}
],
"success": {
"text": "Your Pterodactyl Node has been successfully installed and depolyed. Visit your Pterodactyl Game Panel to finish configuration.",
"email": "Your Pterodactyl Node has been successfully installed and and depolyed. Visit your Pterodactyl Game Panel to finish configuration."
}
}