forked from pelican-eggs/generic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-pterodactyl-generic-java.json
47 lines (47 loc) · 1.74 KB
/
egg-pterodactyl-generic-java.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": null,
"version": "PTDL_v2"
},
"exported_at": "2024-06-02T14:43:51+00:00",
"name": "Generic Java",
"author": "[email protected]",
"description": "Creates a container that runs java.",
"features": null,
"docker_images": {
"ghcr.io/parkervcp/yolks:java_11": "ghcr.io/parkervcp/yolks:java_11",
"ghcr.io/parkervcp/yolks:java_16": "ghcr.io/parkervcp/yolks:java_16",
"ghcr.io/parkervcp/yolks:java_17": "ghcr.io/parkervcp/yolks:java_17",
"ghcr.io/parkervcp/yolks:java_19": "ghcr.io/parkervcp/yolks:java_19",
"ghcr.io/parkervcp/yolks:java_21": "ghcr.io/parkervcp/yolks:java_21",
"ghcr.io/parkervcp/yolks:java_8": "ghcr.io/parkervcp/yolks:java_8"
},
"file_denylist": [],
"startup": "java -Dterminal.jline=false -Dterminal.ansi=true -jar {{JARFILE}}",
"config": {
"files": "{}",
"logs": "{}",
"startup": "{\r\n \"done\": \"change this text\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"container": "ghcr.io/parkervcp/yolks:debian",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n# Java Installation Script\r\n#\r\n# Server Files: /mnt/server\r\nPROJECT=java\r\n\r\napt update\r\napt install -y curl jq\r\n\r\ncd /mnt/server"
}
},
"variables": [
{
"name": "JAR FILE",
"description": "",
"env_variable": "JARFILE",
"default_value": "sneakyhub.jar",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:50",
"field_type": "text"
}
]
}