mirror of
https://github.com/YunoHost-Apps/my_capsule_ynh.git
synced 2024-09-03 19:46:21 +02:00
83 lines
2 KiB
TOML
83 lines
2 KiB
TOML
packaging_format = 2
|
|
|
|
id = "my_capsule"
|
|
name = "my_capsule"
|
|
description.en = "Custom Gemini capsule with SFTP access and HtmGem to make your Gemini pages reachable on the web."
|
|
description.fr = "Capsule Gemini personnalisée avec accès SFTP et HtmGem pour rendre vos pages Gemini accessibles sur le web."
|
|
|
|
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]
|
|
yunohost = ">= 11.2"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = false
|
|
sso = false
|
|
disk = "50M"
|
|
ram.build = "50M"
|
|
ram.runtime = "50M"
|
|
|
|
[install]
|
|
[install.domain]
|
|
type = "domain"
|
|
full_domain = true
|
|
|
|
[install.init_main_permission]
|
|
type = "group"
|
|
default = "visitors"
|
|
|
|
[install.language]
|
|
ask.en = "Choose the application language"
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
type = "string"
|
|
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
|
|
|
|
#[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
|
|
|
|
[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 = "/"
|
|
|
|
[resources.apt]
|
|
packages = "gemserv php8.2-fpm php8.2-mbstring"
|
|
#packages_from_raw_bash = """
|
|
# if [[ "$database" == true ]]; then
|
|
# echo "mariadb-server"
|
|
# fi
|
|
#"""
|
|
#[resources.database]
|
|
#type = "mysql"
|