mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-30 11:12:55 +08:00
1020f582bc
add a separate modgo 6 egg. This uses the new mongosh tool that replaces the mongo application.
53 lines
1.9 KiB
JSON
53 lines
1.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-25T14:20:37-04:00",
|
|
"name": "golang generic",
|
|
"author": "parker@parkervcp.com",
|
|
"description": "A generic golang egg that compiles the application and saves an executable\r\n\r\nMeant to be customized before it is used.",
|
|
"features": null,
|
|
"docker_images": {
|
|
"ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
|
|
},
|
|
"file_denylist": [],
|
|
"startup": ".\/${EXECUTABLE}",
|
|
"config": {
|
|
"files": "{}",
|
|
"startup": "{\r\n \"done\": \"change this part\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^C"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n# golang generic package\r\n\r\n\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n mkdir -p \/mnt\/server\/\r\nfi\r\n\r\ngo get ${GO_PACKAGE}\r\n\r\ncd src\/${GO_PACKAGE}\r\n\r\ngo get\r\n\r\ngo build\r\n\r\ncp -f ${EXECUTABLE} \/mnt\/server\/",
|
|
"container": "golang:1.15-buster",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "Go Package",
|
|
"description": "Go package to get and build",
|
|
"env_variable": "GO_PACKAGE",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string",
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Executable",
|
|
"description": "This is the executable from the build.",
|
|
"env_variable": "EXECUTABLE",
|
|
"default_value": "",
|
|
"user_viewable": true,
|
|
"user_editable": false,
|
|
"rules": "required|string",
|
|
"field_type": "text"
|
|
}
|
|
]
|
|
}
|