1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

config panel

This commit is contained in:
Éric Gaspar 2023-09-11 21:48:07 +02:00
parent 5649009c1e
commit 9cae09e1f0
2 changed files with 16 additions and 1 deletions

View file

@ -5,7 +5,7 @@ DB_USER="__DB_USER__"
DB_NAME="__DB_NAME__"
DB_PASS="__DB_PWD__"
DB_HOST="localhost"
RETENTION="__RETENTION_DAY__" #number of days to *keep*; 93 ~ 3 months
RETENTION="__RETENTION__" #number of days to *keep*; 93 ~ 3 months
DATA_DIR="__DATA_DIR__"
# calculate epoch in milisec

15
config_panel.toml Normal file
View file

@ -0,0 +1,15 @@
version = "1.0"
[main]
name = "Mattermost configuration"
services = ["__APP__"]
[main.congig]
name = "Retention mode"
[main.config.retention]
ask = "Retention days"
type = "string"
default = "93"
help = "Vumber of days to *keep*; 93 ~ 3 months"
bind = "retention:__INSTALL_DIR__/retention.sh"