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"
2023-04-13 13:31:17 +02:00
choices = [ "" , "visualcrossing" ]
2023-03-09 22:41:10 +01:00
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-09-15 20:25:51 +02:00
[ main . config . email_url ]
ask . en = "Change SMTP mail address"
ask . fr = "Changer l’ adresse courriel SMTP"
type = "string"
2023-10-10 13:55:52 +02:00
help . en = "Has to be like this: smtp://username:password@example.com:587/?tls=True. /!\ Please backup your original credentials for the case you want to reset it. "
help . fr = "Doit avoir la forme suivante : smtp://username:password@example.com:587/?tls=True. /!\ Veuillez sauvegarder vos coordonnées initiales au cas où vous voudriez les réinitialiser."
2023-09-15 20:25:51 +02:00
bind = "email_url:/var/www/__APP__/.env"
[ main . config . sender_email ]
ask . en = "Change sender email"
ask . fr = "Changer l’ adresse courriel d’ envoi"
type = "email"
bind = "sender_email:/var/www/__APP__/.env"
2023-09-05 19:26:59 +02:00
2023-09-05 13:53:50 +02:00
2023-09-05 14:34:24 +02:00