forgejo_ynh/manifest.toml
2023-08-09 09:03:06 +02:00

87 lines
2.4 KiB
TOML

packaging_format = 2
id = "forgejo"
name = "Forgejo"
description.en = "Lightweight software forge"
description.fr = "Forge logiciel légère"
version = "1.20.2-0~ynh1"
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/483cbc17-b31a-4401-b4a0-773a8b975e2f"
amd64.sha256 = "ef7849e02e4ad56512eabe280e956913483d87228de21f3dd37ec77e40fe1f0e"
arm64.url = "https://codeberg.org/attachments/345cc669-751d-48fb-afac-e7cdbf5a827a"
arm64.sha256 = "0cf891efb6101329e5154209e5d250e6d74492a8b637efc4cbd77af587c189b0"
armhf.url = "https://codeberg.org/attachments/ceec6963-e20c-49e0-87a4-0fd531bd9ef8"
armhf.sha256 = "8c7e7d3e62021d3cdb0837e42c55bb5ff088c8765cb01faa54309ec52e40d045"
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.show_tile = false
admin.auth_header = false
admin.protected = true
api.url = "/api"
api.show_tile = false
api.allowed = "visitors"
api.auth_header = false
[resources.apt]
packages = "postgresql"
[resources.database]
type = "postgresql"