forked from Sigma-Production/ptero-eggs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-nginx.json
42 lines (42 loc) · 1.79 KB
/
egg-nginx.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_v1",
"update_url": null
},
"exported_at": "2022-02-15T21:19:52+02:00",
"name": "Nginx",
"author": "[email protected]",
"description": "An Nginx egg to host any Website",
"features": null,
"images": [
"ghcr.io\/finnie2006\/nginx-ptero",
"ghcr.io\/finnie2006\/nginx-ptero:composer"
],
"file_denylist": [],
"startup": "{{STARTUP_CMD}}",
"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 }\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\r\n\r\ngit clone https:\/\/github.com\/finnie2006\/ptero-nginx .\/temp\r\n\r\ncp -r .\/temp\/nginx \/mnt\/server\/\r\ncp -r .\/temp\/php-fpm \/mnt\/server\/\r\ncp -r .\/temp\/webroot \/mnt\/server\/\r\ncp .\/temp\/start.sh \/mnt\/server\/\r\n\r\nchmod +x \/mnt\/server\/start.sh\r\n\r\nrm -rf .\/temp",
"container": "alpine:latest",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Startup Command",
"description": "The command to start",
"env_variable": "STARTUP_CMD",
"default_value": ".\/start.sh",
"user_viewable": true,
"user_editable": true,
"rules": "present"
}
]
}