mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 14:38:51 +00:00
Remove legacy egg
This commit is contained in:
1 parent
286aa135f6
commit
8213ce8b77
1 file changed
-52
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||
"meta": {
|
||||
"version": "PTDL_v2",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2022-06-23T23:05:44+02:00",
|
||||
"name": "Nginx",
|
||||
"author": "[email protected]",
|
||||
"description": "An Nginx egg to host any Website",
|
||||
"features": null,
|
||||
"docker_images": {
|
||||
"ghcr.io\/finnie2006\/nginx-ptero": "ghcr.io\/finnie2006\/nginx-ptero"
|
||||
},
|
||||
"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\nchmod +x \/mnt\/server\/start.sh\r\nrm -rf .\/temp\r\n\r\nif [ \"${WORDPRESS}\" == \"true\" ] || [ \"${WORDPRESS}\" == \"1\" ]; then\r\n echo -e \"Installing wordpress\"\r\n cd \/mnt\/server\/webroot\r\n wget http:\/\/wordpress.org\/latest.tar.gz\r\n tar xzf latest.tar.gz\r\n mv wordpress\/* .\r\n rm -rf wordpress latest.tar.gz\r\n echo -e \"Install complete go to http:\/\/ip:port\/wp-admin \"\r\n exit 0\r\nfi",
|
||||
"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",
|
||||
"field_type": "text"
|
||||
},
|
||||
{
|
||||
"name": "Wordpress",
|
||||
"description": "Enable or disable Wordpress\r\n\r\n0 = false (default)\r\n1 = true",
|
||||
"env_variable": "WORDPRESS",
|
||||
"default_value": "false",
|
||||
"user_viewable": true,
|
||||
"user_editable": true,
|
||||
"rules": "required|boolean",
|
||||
"field_type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user