Skip to content

Instantly share code, notes, and snippets.

@isaackogan
Last active February 17, 2022 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaackogan/5f34f2fe607c39c166f564c4230735da to your computer and use it in GitHub Desktop.
Save isaackogan/5f34f2fe607c39c166f564c4230735da to your computer and use it in GitHub Desktop.
Serve a react site
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1",
"update_url": null
},
"exported_at": "2022-02-17T12:45:09-05:00",
"name": "NodeJS Server",
"author": "yajtpg@gmail.com",
"description": "NodeJS Universal Egg.",
"features": null,
"images": [
"quay.io\/yajtpg\/pterodactyl-images:nodejs-10",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-11",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-12",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-13",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-14",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-15",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-16",
"quay.io\/yajtpg\/pterodactyl-images:nodejs-17"
],
"file_denylist": [],
"startup": "\/start.sh",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"script": null,
"container": "alpine:3.4",
"entrypoint": "ash"
}
},
"variables": [
{
"name": "Startup Command 1",
"description": "First Command used to start the server.",
"env_variable": "STARTUP_CMD",
"default_value": "npm install --save --production",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:256"
},
{
"name": "Startup Command 2 (Optional)",
"description": "Second Startup Command",
"env_variable": "SECOND_CMD",
"default_value": "npx serve -s build",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string|max:256"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment