forgejo_ynh/manifest.toml

83 lines
2.3 KiB
TOML

packaging_format = 2
id = "forgejo"
name = "Forgejo"
description.en = "Lightweight software forge"
description.fr = "Forge logiciel légère"
version = "1.19.3-0~ynh3"
maintainers = ["Emmanuel Averty"]
[upstream]
license = "MIT"
website = "https://forgejo.org"
admindoc = "https://forgejo.org/docs/latest/admin/"
userdoc = "https://forgejo.org/docs/latest/user/"
code = "https://codeberg.org/forgejo/forgejo"
[integration]
yunohost = ">= 11.1.17"
architectures = ["amd64", "arm64", "armhf"]
multi_instance = true
ldap = true
sso = true
disk = "150M"
ram.build = "50M"
ram.runtime = "2G"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/forgejo"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.init_admin_permission]
ask.en = "Which group will have access to forgejo admin page (broken feature : see appliction description)"
ask.fr = "Quel groupe aura accès à l'administration de forgejo (ne fonctionne pas : voir la description de l'application)"
help.en = "Users of this group should have access to Forgejo admin page"
help.fr = "Les utilisateurs de ce groupe devrait avoir accès à la page d'administration de Forgejo"
type = "group"
default = "admins"
[resources]
[resources.sources.main]
amd64.url = "https://codeberg.org/attachments/8dc303a9-8a4e-416c-8d6c-62e0d3e289e8"
amd64.sha256 = "84ad6db129c491c9e4b935cdb6ad7003a804d27fb70e9bc3c653d931cf62d92d"
arm64.url = "https://codeberg.org/attachments/dc0a8d51-e2f9-4395-a286-e5f6cbbc20bc"
arm64.sha256 = "e1514b0075223aef8d7992cef0b30cb9869171d4fbec4651693305ad724a530d"
armhf.url = "https://codeberg.org/attachments/b1643658-7394-45c8-9fad-9d286ec29c7d"
armhf.sha256 = "b8265436d3af7a46ffbf306917aacbe5ee00fd74dc1eee79f1d4b4cba97ec395"
format = "xz"
extract = false # will be extracted during install script
rename = "forgejo.xz"
[resources.system_user]
allow_ssh = true
[resources.ports]
main.default = 6000
[resources.install_dir]
[resources.data_dir]
[resources.permissions]
main.url = "/"
admin.allowed = "admins"
admin.show_tile = false
admin.auth_header = false
admin.protected = true
[resources.apt]
packages = "postgresql"
[resources.database]
type = "postgresql"