mirror of
https://github.com/YunoHost-Apps/my_capsule_ynh.git
synced 2024-09-03 19:46:21 +02:00
85 lines
2.6 KiB
JSON
85 lines
2.6 KiB
JSON
{
|
|
"name": "my_capsule",
|
|
"id": "my_capsule",
|
|
"packaging_format": 1,
|
|
"description": {
|
|
"en": "Custom Gemini capsule with SFTP access and HtmGem to make your Gemini pages reachable on the web."
|
|
},
|
|
"version": "1.4.0~ynh1",
|
|
"url": "https://github.com/YunoHost-Apps/my_capsule_ynh",
|
|
"upstream": {
|
|
"license": "GPL-3.0-only",
|
|
"demo": "https://gmi.sbgodin.fr/htmgem/",
|
|
"code": "https://tildegit.org/Sbgodin/htmgem"
|
|
},
|
|
"license": "GPL-3.0-only",
|
|
"maintainer": {
|
|
"name": "yalh76"
|
|
},
|
|
"requirements": {
|
|
"yunohost": ">= 4.2.3"
|
|
},
|
|
"multi_instance": true,
|
|
"services": [
|
|
"nginx",
|
|
"php7.3-fpm",
|
|
"mysql"
|
|
],
|
|
"arguments": {
|
|
"install" : [
|
|
{
|
|
"name": "domain",
|
|
"type": "domain",
|
|
"example": "example.com"
|
|
},
|
|
{
|
|
"name": "admin",
|
|
"type": "user",
|
|
"example": "johndoe"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
{
|
|
"name": "language",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Choose the application language",
|
|
"fr": "Choisissez la langue de l'application"
|
|
},
|
|
"choices": ["fr", "en"],
|
|
"default": "fr"
|
|
},
|
|
{
|
|
"name": "password",
|
|
"type": "password",
|
|
"optional": true,
|
|
"help": {
|
|
"en": "Use the help field to add an information for the admin about this question.",
|
|
"fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
|
},
|
|
"example": "Choose a password"
|
|
},
|
|
{
|
|
"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": "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
|
|
}
|
|
]
|
|
}
|
|
}
|