2023-03-09 22:09:43 +01:00
|
|
|
|
|
|
|
## -----------------------------------------------------------------------------
|
|
|
|
## IMPORTANT: In accordance with YunoHost's spirit, please keep things simple and
|
|
|
|
## do not overwhelm the admin with tons of misunderstandable or advanced settings.
|
|
|
|
## -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
version = "1.0"
|
|
|
|
|
|
|
|
|
|
|
|
[main]
|
2023-03-09 22:41:10 +01:00
|
|
|
name.en = "Main configuration"
|
|
|
|
name.fr = "Configuration principale"
|
|
|
|
services = ["__APP__", "__APP___workers"]
|
|
|
|
|
|
|
|
|
|
|
|
[main.config]
|
|
|
|
name.en = "Configuration options"
|
|
|
|
name.fr = "Options de configuration"
|
|
|
|
|
2023-03-09 23:06:28 +01:00
|
|
|
[main.config.data_dir]
|
|
|
|
ask.en = "Change data directory"
|
|
|
|
ask.fr = "Changer le répertoire de données"
|
|
|
|
type = "path"
|
2023-03-09 23:34:33 +01:00
|
|
|
default = "/home/yunohost.app/__APP__/"
|
2023-03-09 23:06:28 +01:00
|
|
|
help.en = "Change the data directory where are stored all the uploaded .gpx files and the profile pictures"
|
|
|
|
help.fr = "Change le répertoire de données où sont stockés tous les fichiers .gpx téléversés et les photos de profil"
|
|
|
|
bind = "UPLOAD_FOLDER:/var/www/__APP__/.env"
|
|
|
|
|
2023-03-09 22:41:10 +01:00
|
|
|
[main.config.weather_provider]
|
|
|
|
ask.en = "Change weather provider"
|
|
|
|
ask.fr = "Changer le fournisseur météo"
|
|
|
|
type = "select"
|
|
|
|
choices = ["", "darksky", "visualcrossing"]
|
|
|
|
default = "visualcrossing"
|
|
|
|
help.en = "Change your weather provider by choosing one of the proposed ones"
|
|
|
|
help.fr = "Changer votre fournisseur météo en choisissant un de ceux qui vous sont proposés"
|
|
|
|
bind = "WEATHER_API_PROVIDER:/var/www/__APP__/.env"
|
|
|
|
|
|
|
|
[main.config.WEATHER_API_KEY]
|
|
|
|
ask.en = "Change weather api key"
|
|
|
|
ask.fr = "Changer la clé api pour la météo"
|
2023-03-09 22:09:43 +01:00
|
|
|
type = "string"
|
2023-03-09 22:41:10 +01:00
|
|
|
help.en = "Set the api key given by the chosen weather provider"
|
|
|
|
help.fr = "Insérer la clé api donnée par le fournisseur météo choisi"
|
|
|
|
bind = "WEATHER_API_KEY:/var/www/__APP__/.env"
|
2023-03-09 22:09:43 +01:00
|
|
|
|
2023-03-09 22:41:10 +01:00
|
|
|
|