mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-22 12:12:53 +08:00
VIAaaS: update java, startup detection, use ash (#1362)
This commit is contained in:
parent
da22608468
commit
e0e7ae699e
@ -4,33 +4,34 @@
|
||||
"version": "PTDL_v1",
|
||||
"update_url": null
|
||||
},
|
||||
"exported_at": "2021-06-28T11:55:37-04:00",
|
||||
"exported_at": "2021-10-16T11:26:14-03:00",
|
||||
"name": "VIAaaS",
|
||||
"author": "regulad@outlook.com",
|
||||
"description": "VIAaaS - ViaVersion as a Service - Standalone ViaVersion proxy",
|
||||
"features": null,
|
||||
"images": [
|
||||
"ghcr.io\/pterodactyl\/yolks:java_16"
|
||||
"ghcr.io\/pterodactyl\/yolks:java_16",
|
||||
"ghcr.io\/pterodactyl\/yolks:java_17"
|
||||
],
|
||||
"file_denylist": [],
|
||||
"startup": "java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} -sslPort={{WEBSERVER_PORT}}",
|
||||
"config": {
|
||||
"files": "{\r\n \"config\/viaaas.yml\": {\r\n \"parser\": \"yaml\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"bind-address\": \"0.0.0.0\"\r\n }\r\n }\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Application started:\"\r\n}",
|
||||
"startup": "{\r\n \"done\": \"Application started in \"\r\n}",
|
||||
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
|
||||
"stop": "end"
|
||||
},
|
||||
"scripts": {
|
||||
"installation": {
|
||||
"script": "#!\/bin\/bash\r\n# VIAaaS Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\napt update\r\napt install -y curl\r\n\r\ncd \/mnt\/server\r\n\r\ncurl -Lf -o ${SERVER_JARFILE} \"https:\/\/jitpack.io\/com\/github\/ViaVersion\/VIAaaS\/master-SNAPSHOT\/VIAaaS-master-SNAPSHOT-all.jar\"",
|
||||
"container": "debian:buster-slim",
|
||||
"entrypoint": "bash"
|
||||
"script": "#!\/bin\/ash\r\n# VIAaaS Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\ncd \/mnt\/server\r\nwget -O ${SERVER_JARFILE} \"https:\/\/jitpack.io\/com\/github\/ViaVersion\/VIAaaS\/master-SNAPSHOT\/VIAaaS-master-SNAPSHOT-all.jar\"",
|
||||
"container": "ghcr.io/pterodactyl/installers:alpine",
|
||||
"entrypoint": "ash"
|
||||
}
|
||||
},
|
||||
"variables": [
|
||||
{
|
||||
"name": "VIAaaS Jar File",
|
||||
"description": "The name of the jarfile to be used when downloading & running VIAaaS.",
|
||||
"name": "VIAaaS JAR File",
|
||||
"description": "The name of the JAR file to be used when downloading & running VIAaaS.",
|
||||
"env_variable": "SERVER_JARFILE",
|
||||
"default_value": "VIAaaS-all.jar",
|
||||
"user_viewable": true,
|
||||
@ -38,8 +39,8 @@
|
||||
"rules": "required|string"
|
||||
},
|
||||
{
|
||||
"name": "Webserver Port",
|
||||
"description": "The port to listen to webserver connections on.",
|
||||
"name": "Web Server Port",
|
||||
"description": "The port to listen to web server connections on.",
|
||||
"env_variable": "WEBSERVER_PORT",
|
||||
"default_value": "25543",
|
||||
"user_viewable": true,
|
||||
@ -47,4 +48,4 @@
|
||||
"rules": "required|string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user