merged
Merge branch 'main' of https://git.format.hu/format/default-applications-tree
This commit is contained in:
33
README.md
33
README.md
@@ -1,2 +1,35 @@
|
||||
# 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"
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user