forked from CubeCoders/AMPTemplates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
java-app-runnerconfig.json
222 lines (222 loc) · 9.73 KB
/
java-app-runnerconfig.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
[
{
"DisplayName":"App Download Type",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"Sets how to download the app. Specify the App Download Source and the relevant Git repo or GitHub release settings accordingly. Update the app after changing this setting",
"Keywords":"download,type,DownloadType",
"FieldName":"DownloadType",
"InputType":"enum",
"ParamFieldName":"DownloadType",
"DefaultValue":"GitRepo",
"EnumValues":{
"DownloadURL":"Download URL",
"GithubRelease":"GitHub release",
"GitRepo":"Git repo (default)",
"None":"None"
}
},
{
"DisplayName":"App Download Source",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"Sets the source for the App Download Type. Git repo = URL that ends in .git. GitHub release = User/Repo. Download URL = URL to a file/zip. Update the app after changing this setting",
"Keywords":"download,source,DownloadSource",
"FieldName":"DownloadSource",
"InputType":"text",
"ParamFieldName":"DownloadSource",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Git Repo Branch",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"If \"Git repo\" is selected under App Download Type, sets the branch if required. Blank = default branch",
"Keywords":"git,repo,branch,DownloadBranch",
"FieldName":"DownloadBranch",
"InputType":"text",
"ParamFieldName":"DownloadBranch",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Git Repo Username",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"If \"Git repo\" is selected under App Download Type, sets the username if login is required",
"Keywords":"git,repo,username,DownloadUsername",
"FieldName":"DownloadUsername",
"InputType":"text",
"ParamFieldName":"DownloadUsername",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Git Repo Password/Token",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"If \"Git repo\" is selected under App Download Type, sets the password/token if login is required",
"Keywords":"git,repo,password,token,DownloadPassword",
"FieldName":"DownloadPassword",
"InputType":"password",
"ParamFieldName":"DownloadPassword",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"GitHub Release Filename",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"If \"GitHub release\" is selected under App Download Type, sets the name of the zip file to download",
"Keywords":"github,release,filename,DownloadFilename",
"FieldName":"DownloadFilename",
"InputType":"text",
"ParamFieldName":"DownloadFilename",
"DefaultValue":"",
"Placeholder":"app.zip",
"EnumValues":{}
},
{
"DisplayName":"GitHub Release Version",
"Category":"Java App Runner:code",
"Subcategory":"Download Settings:download:2",
"Description":"If \"GitHub release\" is selected under App Download Type, sets the release version to download. Blank = latest",
"Keywords":"github,release,version,DownloadVersion",
"FieldName":"DownloadVersion",
"InputType":"text",
"ParamFieldName":"DownloadVersion",
"DefaultValue":"",
"Placeholder":"1.0.0",
"EnumValues":{}
},
{
"DisplayName":"Java Version (Windows)",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets the Java version to run the app with. The version must be accessible to AMP. For \"Specific system version\", also set Specific System Java Version. For \"Specific instance version\", also set Specific Instance Java Version. Ensure the version is compatible with the app",
"Keywords":"java,version,JavaVersionWindows",
"FieldName":"JavaVersionWindows",
"InputType":"enum",
"ParamFieldName":"JavaVersionWindows",
"DefaultValue":"$PATH\\java.exe",
"EnumValues":{
"$PATH\\java.exe":"System default",
"{{SpecificJavaVersion}}":"Specific system version",
"java\\bin\\java.exe":"Specific instance version"
}
},
{
"DisplayName":"Java Version (Linux)",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets the Java version to run the app with. The version must be accessible to AMP. For \"Specific system version\", also set Specific System Java Version. For \"Specific instance version\", also set Specific Instance Java Version. Ensure the version is compatible with the app",
"Keywords":"java,version,JavaVersionLinux",
"FieldName":"JavaVersionLinux",
"InputType":"enum",
"ParamFieldName":"JavaVersionLinux",
"DefaultValue":"/usr/bin/java",
"EnumValues":{
"/usr/bin/java":"System default",
"{{SpecificJavaVersion}}":"Specific system version",
"java/bin/java":"Specific instance version"
}
},
{
"DisplayName":"Specific System Java Version",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets the full path to the Java executable on the system, if \"Specific system version\" is selected under Java Version",
"Keywords":"java,version,system,SpecificJavaVersion",
"FieldName":"SpecificJavaVersion",
"InputType":"text",
"ParamFieldName":"SpecificJavaVersion",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Specific Instance Java Version",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets the Eclipse Temurin Java version to install in the instance to run the app with, if \"Specific instance version\" is selected under Java Version. Useful for using a Java version that is not installed on the system or in AMP's Docker image (if using AMP's Docker). Update the server after changing this setting",
"Keywords":"java,version,instance,SpecificInstanceJavaVersion",
"FieldName":"SpecificInstanceJavaVersion",
"InputType":"enum",
"ParamFieldName":"SpecificInstanceJavaVersion",
"IncludeInCommandLine":false,
"DefaultValue":"21",
"EnumValues":{
"22":"22",
"21":"21 (default)",
"20":"20",
"19":"19",
"18":"18",
"17":"17",
"16":"16",
"11":"11",
"8":"8"
}
},
{
"DisplayName":"Java Arguments",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Specifies any command line arguments to run Java with (NOT options passed to the jar)",
"Keywords":"command,line,arguments,args,java,JavaArgs",
"FieldName":"JavaArgs",
"InputType":"text",
"ParamFieldName":"JavaArgs",
"DefaultValue":"",
"Placeholder":"-Xmx1024M -Xms1024M",
"EnumValues":{}
},
{
"DisplayName":"Jar Name",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets the jar name to run. Also set App Subdirectory as needed, or include the jar path under the root directory here if App Subdirectory is not otherwise appropriate",
"Keywords":"jar,name,JarName",
"FieldName":"JarName",
"InputType":"text",
"ParamFieldName":"JarName",
"DefaultValue":"",
"Placeholder":"myapp.jar",
"EnumValues":{}
},
{
"DisplayName":"App Subdirectory",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Sets any applicable subdirectory path under the root directory that the app is installed in. This will set the working directory for running the app accordingly",
"Keywords":"app,directory,subdirectory,path,AppDir",
"FieldName":"AppDir",
"InputType":"text",
"ParamFieldName":"AppDir",
"DefaultValue":"",
"EnumValues":{}
},
{
"DisplayName":"Jar Options",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"Specifies any command line options to pass to the jar (NOT arguments to run Java wth)",
"Keywords":"command,line,options,jar,JarOptions",
"FieldName":"JarOptions",
"InputType":"text",
"ParamFieldName":"JarOptions",
"DefaultValue":"",
"Placeholder":"nogui",
"EnumValues":{}
},
{
"DisplayName":"App Environment Variables",
"Category":"Java App Runner:code",
"Subcategory":"App Settings:settings:1",
"Description":"To set a list of environment variables to run the app with, use a relevant config file in the working directory, such as a '.env' file. For example, this may include a [Discord bot token](https://discord.com/developers/applications/). Consult any example config file included with the app for relevant variables to specify",
"Keywords":"environment,variables,EnvVars",
"FieldName":"EnvVars",
"InputType":"hidden",
"ParamFieldName":"EnvVars",
"EnumValues":{}
}
]