my_webapp_ynh/manifest.json
2016-01-11 00:22:24 +01:00

58 lines
1.7 KiB
JSON

{
"name": "Custom Webapp",
"id": "my_webapp",
"description": {
"en": "Empty App with a file access to the web directory",
"fr": "Répertoire Web vide avec un accès fichier"
},
"maintainer": {
"name": "kload",
"email": "kload@kload.fr"
},
"multi_instance": "true",
"services": [
"nginx",
"php5-fpm"
],
"arguments": {
"install" : [
{
"name": "domain",
"type": "domain",
"ask": {
"en": "Choose a domain for your Webapp",
"fr": "Choisissez un domaine pour votre Webapp"
},
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for your Webapp",
"fr": "Choisissez un chemin pour votre Webapp"
},
"example": "/site",
"default": "/site"
},
{
"name": "admin",
"type": "user",
"ask": {
"en": "Choose the YunoHost user who will be able to upload documents to this directory",
"fr": "Choisissez l'utilisateur YunoHost qui sera capable d'envoyer des documents dans ce répertoire web"
},
"example": "johndoe"
},
{
"name": "is_public",
"ask": {
"en": "Is it a public website ?",
"fr": "Est-ce un site public ?"
},
"choices": ["Yes", "No"],
"default": "Yes"
}
]
}
}