This commit is contained in:
2023-10-23 21:10:17 +02:00
parent 897238b8a8
commit 9f284f3ea3
2 changed files with 304 additions and 303 deletions

View File

@@ -53,7 +53,8 @@ locals {
"run_as ./occ --no-warnings config:app:set onlyoffice StorageUrl --value=\"http://nextcloud/\"",
"run_as ./occ --no-warnings config:app:set onlyoffice jwt_secret --value=\"$${ONLYOFFICE_JWT_SECRET}\"",
]:["run_as ./occ app:disable onlyoffice ||:"],
var.apps.spreed?["run_as ./occ app:install spreed ||:"]:[])
var.apps.spreed?["run_as ./occ app:install spreed ||:"]:[],
["run_as ./occ upgrade ||:","run_as ./occ maintenance:mode --off ||:"])
data-config-init = {
"autostart.sh" = join("\n", concat([local.script-head],local.script-apps))
"wrapper" = local.script-wrap