mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-15 06:27:23 +08:00
92 lines
3.9 KiB
JSON
92 lines
3.9 KiB
JSON
|
{
|
||
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||
|
"meta": {
|
||
|
"version": "PTDL_v2",
|
||
|
"update_url": null
|
||
|
},
|
||
|
"exported_at": "2022-07-25T21:57:48+02:00",
|
||
|
"name": "BetterCrewlink Server",
|
||
|
"author": "tobiornotto@gmail.com",
|
||
|
"description": "An egg designed to allow support for Proximity Chat in Among Us using BetterCrewLink Server",
|
||
|
"features": null,
|
||
|
"docker_images": {
|
||
|
"quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12": "quay.io\/parkervcp\/pterodactyl-images:debian_nodejs-12"
|
||
|
},
|
||
|
"file_denylist": [],
|
||
|
"startup": "yarn start",
|
||
|
"config": {
|
||
|
"files": "{}",
|
||
|
"startup": "{\r\n \"done\": \"<info> BetterCrewLink 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\/OhMyGuus\/BetterCrewLink-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": "Select one of the available BetterCrewLink-server branches available. Master per default.",
|
||
|
"env_variable": "BRANCH",
|
||
|
"default_value": "master",
|
||
|
"user_viewable": true,
|
||
|
"user_editable": true,
|
||
|
"rules": "required|string|max:20",
|
||
|
"field_type": "text"
|
||
|
},
|
||
|
{
|
||
|
"name": "Domain",
|
||
|
"description": "The hostname or IP of the server (a record without a proxy so if you have cloudflare make a extra dns record named for example direct.domain.com and disable the proxy for that record (this is for the turn server)",
|
||
|
"env_variable": "HOSTNAME",
|
||
|
"default_value": "",
|
||
|
"user_viewable": true,
|
||
|
"user_editable": true,
|
||
|
"rules": "nullable|string|max:50",
|
||
|
"field_type": "text"
|
||
|
},
|
||
|
{
|
||
|
"name": "Server name",
|
||
|
"description": "Specifiy the name of your BetterCrewLink server",
|
||
|
"env_variable": "NAME",
|
||
|
"default_value": "",
|
||
|
"user_viewable": true,
|
||
|
"user_editable": true,
|
||
|
"rules": "required|string|max:75",
|
||
|
"field_type": "text"
|
||
|
},
|
||
|
{
|
||
|
"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",
|
||
|
"field_type": "text"
|
||
|
},
|
||
|
{
|
||
|
"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",
|
||
|
"field_type": "text"
|
||
|
},
|
||
|
{
|
||
|
"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",
|
||
|
"field_type": "text"
|
||
|
}
|
||
|
]
|
||
|
}
|