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

92 lines
2.1 KiB
TOML
Raw Normal View History

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
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-12-03 08:26:42 +01:00
2023-06-14 18:12:24 +02:00
ldap = false
2023-12-03 08:26:42 +01:00
2023-06-14 18:12:24 +02:00
sso = false
2023-12-03 08:26:42 +01:00
2023-06-14 18:12:24 +02:00
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]
2024-01-28 14:40:00 +01:00
[resources.sources.main]
url = "https://tildegit.org/sbgodin/HtmGem/archive/v1.4.1.tar.gz"
sha256 = "4d21fbdf5f89e510052185ea9d331614338353886baaecc05d007fa1481f75ce"
# autoupdate.strategy = "latest_github_tag"
2023-06-14 18:06:15 +02:00
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
2023-06-14 18:12:24 +02:00
[resources.apt]
packages = "php8.2-fpm, php8.2-mbstring"
2023-08-30 09:38:03 +02:00
packages_from_raw_bash = """
if [[ "$database" == true ]]; then
2023-10-13 11:57:20 +02:00
echo "mariadb-server, php8.2-mysql"
2023-08-30 09:38:03 +02:00
fi
2023-12-02 23:27:24 +01:00
"""
2024-01-28 14:40:00 +01:00
[resources.database]
# Might not be used, but it's easier to handle it here
type = "mysql"