2023-02-05 13:38:14 +01:00
packaging_format = 2
id = "bonfire"
2023-04-30 12:14:56 +02:00
name = "Bonfire"
2024-01-19 23:11:17 +01:00
version = "0.9.6~ynh5"
2023-02-05 13:38:14 +01:00
2023-02-05 13:59:00 +01:00
maintainers = [ "Lapineige" ]
2023-04-30 21:39:51 +02:00
[ description ]
en = "Federated social networking server built on ActivityPub open protocol"
fr = "Serveur de réseautage social fédéré basé sur le protocole ouvert ActivityPub"
2023-02-05 13:38:14 +01:00
[ upstream ]
2023-04-30 12:14:56 +02:00
license = "AGPL-3.0-only"
2023-02-05 13:38:14 +01:00
website = "https://bonfirenetworks.org/"
demo = "https://playground.bonfire.cafe/"
admindoc = "https://bonfirenetworks.org/docs/"
userdoc = "https://bonfirenetworks.org/docs/"
code = "https://github.com/bonfire-networks/bonfire-app"
2023-02-05 13:59:00 +01:00
[ integration ]
2023-04-30 12:10:27 +02:00
yunohost = ">= 11.1.18"
2023-02-05 13:59:00 +01:00
multi_instance = false
2023-02-05 14:17:21 +01:00
architectures = "all"
2023-02-05 17:18:11 +01:00
ldap = false
sso = false
2023-08-13 16:48:15 +02:00
disk = "2000M"
2024-01-21 13:24:41 +01:00
ram . build = "1500M"
2023-02-05 17:12:17 +01:00
ram . runtime = "500M"
2023-02-05 17:10:10 +01:00
2023-02-05 13:59:00 +01:00
[ install ]
[ install . domain ]
type = "domain"
2023-05-01 10:50:07 +02:00
help . en = "The domain name to use. Bonfire will be installed at its root path (/). This can't be changed."
help . fr = "Nom de domaine à utiliser. Bonfire sera installé à sa racine (/). Cela ne pourra pas être changé."
2023-02-05 13:59:00 +01:00
[ install . is_public ]
2023-02-05 14:06:18 +01:00
type = "boolean"
default = true
help . en = "Should that instance be visible to the fediverse ? It is required for federation."
help . fr = "Cette instance doit elle être visible sur le fédiverse? C'est nécessaire pour la fédération."
2023-02-05 13:59:00 +01:00
[ install . init_main_permission ]
type = "group"
default = "visitors"
2023-02-05 14:06:18 +01:00
[ install . language ]
2023-08-12 13:52:50 +02:00
ask . en = "Choose the application language"
ask . fr = "Choisissez la langue de l'application"
2023-08-12 13:53:35 +02:00
type = "select"
2023-02-05 13:59:00 +01:00
choices = [ "fr" , "en" ]
default = "fr"
2023-02-05 14:06:18 +01:00
[ install . admin ]
2023-02-05 13:59:00 +01:00
type = "user"
2023-02-05 14:06:18 +01:00
[ install . password ]
2023-02-05 13:59:00 +01:00
help . en = "Use the help field to add an information for the admin about this question."
help . fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
type = "password"
2023-02-05 14:06:18 +01:00
[ install . media_upload_size ]
2023-08-12 13:52:50 +02:00
ask . en = "Choose the maximum size of the media uploaded. Can be changed later."
ask . fr = "Choisissez la taille maximale des médias mis en ligne. Peut-être modifié ultérieurement."
2023-08-12 13:51:34 +02:00
type = "select"
2023-02-05 13:59:00 +01:00
choices = [
2023-04-30 12:10:27 +02:00
"1MB" ,
"2MB" ,
"5MB" ,
"10MB" ,
"15MB" ,
"20MB" ,
"35MB" ,
"50MB" ,
2023-05-03 09:38:36 +02:00
"70MB" ,
2023-04-30 12:10:27 +02:00
"100MB" ,
"150MB"
]
2023-05-03 09:38:36 +02:00
default = "35MB"
2023-02-05 13:59:00 +01:00
[ resources ]
2023-04-30 12:10:27 +02:00
2023-04-30 21:40:57 +02:00
#[resources.data_dir]
# This will create/remove the data dir as /home/yunohost.app/$app
# and store the corresponding setting $data_dir
#TODO
2023-04-30 12:17:51 +02:00
[ resources . sources ]
[ resources . sources . main ]
2024-01-20 23:33:13 +01:00
url = "https://github.com/bonfire-networks/bonfire-app/archive/b3aae6292790e79a891cc9e93ecbda1400035f1d.tar.gz"
sha256 = "6bcb435160ebee6e23d29fda17c1603ad8bcf015f54ef6c960e430242bc07bd5"
2023-04-30 12:17:51 +02:00
2023-02-05 13:59:00 +01:00
[ resources . ports ]
2023-04-30 12:25:21 +02:00
[ resources . system_user ]
2023-08-13 13:24:08 +02:00
allow_email = true
2023-04-30 12:17:51 +02:00
[ resources . install_dir ]
2023-02-05 18:12:12 +01:00
2023-04-30 12:17:51 +02:00
[ resources . permissions ]
main . url = "/"
2023-08-13 17:24:08 +02:00
2023-04-30 12:10:27 +02:00
[ resources . apt ]
2024-01-19 18:53:43 +01:00
packages = "erlang-dev erlang-parsetools erlang-os-mon erlang-tools erlang-xmerl postgresql npm node-postcss"
2023-04-30 12:10:27 +02:00
2023-08-12 13:37:26 +02:00
##### (this part is optional and corresponds to the legacy ynh_install_extra_app_dependencies helper)
### Yarn dependency (correct version)
extras . yarn . repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras . yarn . key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
extras . yarn . packages = [ "yarn" ]
2023-08-13 10:54:30 +02:00
### Elixir 13 dependency - instead of v15 for now
2024-01-20 23:33:50 +01:00
extras . elixir13 . repo = "deb https://packages.erlang-solutions.com/debian bullseye contrib"
extras . elixir13 . key = "https://packages.erlang-solutions.com/debian/erlang_solutions.asc"
extras . elixir13 . packages = [ "elixir" ]
2023-08-12 13:37:26 +02:00
### Elixir 15 dependency
# Bulleyes comes with v1.10 instead of v1.15 that is required
# ynh_install_extra_app_dependencies --repo="https://packages.erlang-solutions.com/debian bullseye contrib" --package="elixir-lang" --key='https://packages.erlang-solutions.com/debian/erlang_solutions.asc'
# v15 is not available in default repo. RabbitMQ repo should be used (https://elixir-lang.org/install.html). No debian simple syntax. TODO later, using the simple syntax for now
# erlang 26, for elixir v1.15
2024-01-17 15:39:49 +01:00
#extras.elixir15.repo = "deb https://ppa.launchpadcontent.net/rabbitmq/rabbitmq-erlang/ubuntu jammy main"
#extras.elixir15.key = "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb279943d2a549531e144b875f77f1eda57ebb1cc"
#extras.elixir15.packages = ["elixir"]
2023-08-12 13:37:26 +02:00
# exlang-dev -> https://github.com/elixir-lang/ex_doc/pull/1442/files # Debian default package is newer (enough), don't use this custom repo
2024-01-17 15:39:49 +01:00
### Elixir 15 with mise
2024-01-20 23:33:50 +01:00
#extras.mise.repo = "deb https://mise.jdx.dev/deb stable main"
#extras.mise.key = "https://mise.jdx.dev/gpg-key.pub"
#extras.mise.packages = ["mise"]
2023-08-12 13:37:26 +02:00
### just dependency
# TODO : this is unsafe and should be dealt with in a better way.
# There is currently no proper way to install it simply on Debian 11 https://github.com/casey/just#packages
# only works for x86, we need to switch to the other option with makedeb package ?
extras . just . repo = "deb https://proget.makedeb.org prebuilt-mpr bullseye"
extras . just . key = "https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub"
extras . just . packages = [ "just" ]
2023-08-13 17:29:17 +02:00
[ resources . database ]
type = "postgresql"