my_webapp_ynh/manifest.json

73 lines
1.9 KiB
JSON

{
"id": "my_webapp",
"name": "Custom Webapp",
"packaging_format": 1,
"description": {
"en": "Custom Web app with SFTP access",
"fr": "Application Web personnalisée avec accès SFTP"
},
"version": "1.0~ynh5",
"url": "https://github.com/YunoHost-Apps/my_webapp_ynh",
"license": "GPL-3.0-only",
"maintainer": {
"name": "",
"email": ""
},
"previous_maintainers": [{
"name": "Maniack Crudelis",
"email": "maniackc_dev@crudelis.fr"
}],
"requirements": {
"yunohost": ">= 4.2.3"
},
"multi_instance": true,
"services": [
"nginx",
"php7.3-fpm",
"mysql"
],
"arguments": {
"install" : [
{
"name": "domain",
"type": "domain",
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"example": "/site",
"default": "/site"
},
{
"name": "with_sftp",
"type": "boolean",
"ask": {
"en": "Do you need a SFTP access?",
"fr": "Avez-vous besoin d'un accès SFTP ?"
},
"default": true
},
{
"name": "password",
"type": "password",
"optional": true,
"example": "myreallystrengthpassword"
},
{
"name": "is_public",
"type": "boolean",
"default": true
},
{
"name": "with_mysql",
"type": "boolean",
"ask": {
"en": "Do you need a MySQL database?",
"fr": "Avez-vous besoin d'une base de données MySQL ?"
},
"default": false
}
]
}
}