mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-27 08:52:54 +08:00
83 lines
3.3 KiB
JSON
83 lines
3.3 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
"meta": {
|
|
"version": "PTDL_v1"
|
|
},
|
|
"exported_at": "2020-12-16T20:11:55+01:00",
|
|
"name": "Crewlink server",
|
|
"author": "panel@oxtroit.com",
|
|
"description": "An egg designed to allow support for Proximity Chat in Among Us using CrewLink Server",
|
|
"features": null,
|
|
"image": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12",
|
|
"startup": "yarn start",
|
|
"config": {
|
|
"files": "{}",
|
|
"startup": "{\r\n \"done\": \"<info> CrewLink Server started\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^c"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y git\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nINSTALL_REPO=\"https:\/\/github.com\/ottomated\/crewlink-server.git\"\r\necho -e Install repo set to ${INSTALL_REPO}\r\necho -e \"\/mnt\/server is empty.\\ncloning files from repo\"\r\necho -e \"running 'git clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .'\"\r\ngit clone --single-branch --branch ${BRANCH} ${INSTALL_REPO} .\r\n\r\nif [ -f \/mnt\/server\/package.json ]; then\r\n \/usr\/local\/bin\/yarn install\r\nfi\r\n\r\necho -e \"install complete\"\r\nexit 0",
|
|
"container": "node:12-buster-slim",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Github branch",
|
|
"description": "Set this to 'devel' if you wanna run a develop server.",
|
|
"env_variable": "BRANCH",
|
|
"default_value": "master",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:20"
|
|
},
|
|
{
|
|
"name": "Domain",
|
|
"description": "Domain of your server or ip of your server",
|
|
"env_variable": "ADDRESS",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "nullable|string|max:50"
|
|
},
|
|
{
|
|
"name": "Server name",
|
|
"description": "Specifiy the name of your Crewlink server",
|
|
"env_variable": "NAME",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:75"
|
|
},
|
|
{
|
|
"name": "Use HTTPS",
|
|
"description": "Enables https. You must place privkey.pem and fullchain.pem in your CWD.",
|
|
"env_variable": "HTTPS",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "nullable|string|max:20"
|
|
},
|
|
{
|
|
"name": "Path to SSL",
|
|
"description": "Alternate path to SSL certificates.",
|
|
"env_variable": "SSLPATH",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "nullable|string|max:250"
|
|
},
|
|
{
|
|
"name": "Port",
|
|
"description": "Choose the port your server should run on",
|
|
"env_variable": "PORT",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string|max:20"
|
|
}
|
|
]
|
|
}
|