1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_capsule_ynh.git synced 2024-09-03 19:46:21 +02:00
my_capsule_ynh/manifest.toml

84 lines
1.9 KiB
TOML
Raw Normal View History

2023-06-14 18:06:15 +02:00
packaging_format = 2
id = "my_capsule"
name = "my_capsule"
2023-10-13 11:51:00 +02:00
description.en = "Custom Gemini capsule with SFTP access and HtmGem"
description.fr = "Capsule Gemini personnalisée avec accès SFTP et HtmGem"
2023-06-14 18:06:15 +02:00
version = "1.4.1~ynh1"
maintainers = ["yalh76"]
[upstream]
license = "AGPL-3.0-or-later"
demo = "https://gmi.sbgodin.fr/htmgem/"
code = "https://tildegit.org/Sbgodin/htmgem"
website = "https://tildegit.org/Sbgodin/htmgem"
[integration]
2023-08-15 10:06:23 +02:00
yunohost = ">= 11.2"
2023-06-14 18:12:24 +02:00
architectures = "all"
2023-06-14 18:06:15 +02:00
multi_instance = true
2023-06-14 18:12:24 +02:00
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
2023-06-14 18:06:15 +02:00
[install]
[install.domain]
type = "domain"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
2023-08-30 13:41:17 +02:00
type = "select"
2023-06-14 18:06:15 +02:00
choices = ["fr", "en"]
default = "fr"
[install.admin]
type = "user"
[install.password]
type = "password"
optional = true
[install.with_sftp]
ask.en = "Do you need a SFTP access?"
ask.fr = "Avez-vous besoin d'un accès SFTP ?"
type = "boolean"
default = true
2023-08-30 09:38:03 +02:00
[install.with_mysql]
ask.en = "Do you need a MySQL database?"
ask.fr = "Avez-vous besoin d'une base de données MySQL ?"
type = "boolean"
default = false
2023-06-14 18:06:15 +02:00
[resources]
[resources.sources.main]
url = "https://tildegit.org/sbgodin/HtmGem/archive/v1.4.1.tar.gz"
sha256 = "c7a1d21f6791f567222a1bfb26d72fd44c6083cddb8536011477cf001eb90d27"
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
2023-06-14 18:12:24 +02:00
[resources.apt]
2023-10-13 11:51:00 +02:00
packages = "gemserv, php8.2-fpm, php8.2-mbstring"
2023-08-30 09:38:03 +02:00
packages_from_raw_bash = """
if [[ "$database" == true ]]; then
echo "mariadb-server"
fi
"""
2023-06-14 18:12:24 +02:00
#[resources.database]
#type = "mysql"