1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00

Multi instance (#61)

* multi_instance: true

* test multi_instance

* fix a typo? (weight)
This commit is contained in:
OniriCorpe 2022-03-22 06:53:15 +01:00 committed by GitHub
parent d1d3af6ccd
commit 1186b5431a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View file

@ -17,7 +17,7 @@
upgrade=1 from_commit=aaa9c9534b01a210989aceb4ad4d2b9c585be6df upgrade=1 from_commit=aaa9c9534b01a210989aceb4ad4d2b9c585be6df
upgrade=1 from_commit=12ee6097f4f48e6fb765afbe25dd10345e9c8adb upgrade=1 from_commit=12ee6097f4f48e6fb765afbe25dd10345e9c8adb
backup_restore=1 backup_restore=1
multi_instance=0 multi_instance=1
change_url=1 change_url=1
;;; Options ;;; Options
Email= Email=

View file

@ -24,14 +24,15 @@
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 4.3.0"
}, },
"multi_instance": false, "multi_instance": true,
"services": [ "services": [
"nginx", "nginx",
"php8.0-fpm", "php8.0-fpm",
"mysql" "mysql"
], ],
"arguments": { "arguments": {
"install": [{ "install": [
{
"name": "domain", "name": "domain",
"type": "domain" "type": "domain"
}, },
@ -52,7 +53,20 @@
"en": "Choose the application language", "en": "Choose the application language",
"fr": "Choisissez la langue de l'application" "fr": "Choisissez la langue de l'application"
}, },
"choices": ["de", "en", "es_ES", "fa", "fr", "it", "lt", "nl", "pl", "pt_PT", "uk", "zh_CN"], "choices": [
"de",
"en",
"es_ES",
"fa",
"fr",
"it",
"lt",
"nl",
"pl",
"pt_PT",
"uk",
"zh_CN"
],
"default": "en" "default": "en"
}, },
{ {

View file

@ -146,7 +146,7 @@ chown $app:$app $final_path/.env
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================
ynh_script_progression --message="Configuring permissions..." --weight=50 ynh_script_progression --message="Configuring permissions..." --weight=1
# Make app public if necessary # Make app public if necessary
if [ $is_public -eq 1 ] if [ $is_public -eq 1 ]