1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-21 12:19:08 +02:00
parent abc1b8a125
commit 05407e5e2f

View file

@ -9,6 +9,10 @@
source _common.sh
source /usr/share/yunohost/helpers
jwt_secret=$(ynh_string_random --length=32)
#=================================================
# NGINX CONFIGURATION
#=================================================
@ -30,6 +34,15 @@ echo onlyoffice-documentserver onlyoffice/db-user string $db_user | debconf-set-
echo onlyoffice-documentserver onlyoffice/db-pwd password $db_pwd | debconf-set-selections
echo onlyoffice-documentserver onlyoffice/db-name string $db_name | debconf-set-selections
#RabbitMQ options
#echo onlyoffice-documentserver onlyoffice/rabbitmq-host string <RABBITMQ_HOST> | debconf-set-selections
#echo onlyoffice-documentserver onlyoffice/rabbitmq-user string <RABBITMQ_USER> | debconf-set-selections
#echo onlyoffice-documentserver onlyoffice/rabbitmq-pwd password <RABBITMQ_PWD> | debconf-set-selections
#JWT options
echo onlyoffice-documentserver onlyoffice/jwt-enabled boolean true | debconf-set-selections
echo onlyoffice-documentserver onlyoffice/jwt-secret password $jwt_secret | debconf-set-selections
#=================================================
# ADD A CONFIGURATION
#=================================================