36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
# default-applications-tree
|
|
|
|
You can add more application sections into applications-tree.json.
|
|
You have to specify the application name and version. For example:
|
|
|
|
{
|
|
"name": "nextcloud",
|
|
"version": "latest"
|
|
}
|
|
|
|
The name must be the same as the directory name of the application.
|
|
|
|
The directory of an application have to contain a template.json file and can contain more json files (service, domain, secret, etc. files).
|
|
|
|
The mandatory template.json file's structure is the following.
|
|
- "name" - the name of the application, must be the same as the directory name
|
|
- "fields" - array of used variables by service
|
|
|
|
An element of fields can contain the following keys.
|
|
- description
|
|
- key
|
|
- value
|
|
- required
|
|
- type
|
|
- generated
|
|
|
|
For example:
|
|
{
|
|
"description": "Please add Nextcloud password:",
|
|
"key": "NEXTCLOUD_PASSWORD",
|
|
"value": "",
|
|
"required": "true",
|
|
"type": "password"
|
|
},
|
|
|