2023-02-05 13:38:14 +01:00
packaging_format = 2
name = "Bonfire"
id = "bonfire"
version = "0.1~ynh1"
url = "https://example.com"
license = "free"
2023-02-05 14:10:00 +01:00
services = [ "nginx" ]
2023-02-05 13:59:00 +01:00
maintainers = [ "Lapineige" ]
2023-02-05 14:10:00 +01:00
# FIXME: replace with an **estimate** minimum disk and RAM requirements. e.g. 20M, 400M, 1G, ...
2023-02-05 17:10:10 +01:00
disk = "500M"
ram . build = "500M"
ram . runtime = "500M"
2023-02-05 14:10:00 +01:00
2023-02-05 13:38:14 +01: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"
[ upstream ]
license = "GNU Affero General Public License v3.0"
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-02-05 13:38:14 +01:00
yunohost = ">= 11.0.0"
2023-02-05 13:59:00 +01:00
multi_instance = false
2023-02-05 14:17:21 +01:00
architectures = "all"
2023-02-05 13:59:00 +01:00
2023-02-05 17:10:10 +01:00
### LDAP & SSO will be dealt with later, if Bonfire support it. Help wanted :)
# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials.
ldap = "false"
# FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal.
sso = "false"
2023-02-05 13:59:00 +01:00
[ install ]
[ install . domain ]
type = "domain"
2023-02-05 14:06:18 +01:00
ask . en = "The domain name to use. Bonfire will be installed at its root path (/). This can't be changed."
ask . 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 ]
# this is a generic question - ask strings are automatically handled by YunoHost's core
# This won't be saved as setting and will instead be used to initialize the SSOwat permission
type = "group"
default = "visitors"
2023-02-05 14:06:18 +01:00
[ install . language ]
2023-02-05 14:14:25 +01:00
ask . en = "Choose the application language"
ask . fr = "Choisissez la langue de l'application"
2023-02-05 13:59:00 +01:00
type = "string"
choices = [ "fr" , "en" ]
default = "fr"
2023-02-05 14:06:18 +01:00
[ install . admin ]
2023-02-05 13:59:00 +01:00
# this is a generic question - ask strings are automatically handled by YunoHost's core
type = "user"
2023-02-05 14:06:18 +01:00
[ install . password ]
2023-02-05 13:59:00 +01:00
# this is a generic question - ask strings are automatically handled by YunoHost's core
# Note that user-provided passwords questions are not automatically saved as setting
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-02-05 13:59:00 +01:00
type = "string"
choices = [
"1MB" ,
"2MB" ,
"5MB" ,
"10MB" ,
"15MB" ,
"20MB" ,
"35MB" ,
"50MB" ,
"100MB" ,
"150MB"
]
default = "20MB"
ask . en = "Maximum size of the media uploaded. Can be changed later."
ask . fr = "Taille maximale des médias mis en ligne. Peut-être modifié ultérieurement."
[ resources ]
2023-02-05 17:10:10 +01:00
#[resources.data_dir]
2023-02-05 13:59:00 +01:00
# This will create/remove the data dir as /home/yunohost.app/$app
# and store the corresponding setting $data_dir
#TODO
[ resources . ports ]
# This will pick a random port for reverse-proxying and store it as the $port setting
[ resources . database ]
# This will automatically provision/deprovison a mysql DB and store the corresponding credentials in settings $db_user, $db_name, $db_pwd
type = "postgresql"