This commit is contained in:
2023-07-28 20:55:24 +02:00
parent 25e0c22df7
commit c0e5ae4f9a
3 changed files with 157 additions and 90 deletions

View File

@@ -30,6 +30,14 @@ locals {
var.apps.groupfolders?["run_as ./occ app:install groupfolders ||:"]:[],
var.apps.notes?["run_as ./occ app:install notes ||:"]:[],
var.apps.tasks?["run_as ./occ app:install tasks ||:"]:[],
var.apps.audioplayer?["run_as ./occ app:install audioplayer ||:"]:[],
var.apps.bpm?["run_as ./occ app:install files_bpm ||:"]:[],
var.apps.mindmap?["run_as ./occ app:install files_mindmap ||:"]:[],
var.apps.music?["run_as ./occ app:install music ||:"]:[],
var.apps.bookmarks?["run_as ./occ app:install bookmarks ||:"]:[],
var.apps.texteditor?["run_as ./occ app:install files_texteditor ||:"]:[],
var.apps.passman?["run_as ./occ app:install passman ||:"]:[],
var.apps.tables?["run_as ./occ app:install tables ||:"]:[],
var.apps.collabora?[
"run_as ./occ app:install richdocuments ||:",
"run_as ./occ app:enable richdocuments ||:",
@@ -40,10 +48,10 @@ locals {
var.apps.onlyoffice?[
"run_as ./occ app:install onlyoffice ||:",
"run_as ./occ app:enable onlyoffice ||:",
"run_as ./occ --no-warnings config:system:set onlyoffice DocumentServerUrl --value=\"https://onlyoffice.${local.dns-name}/ds-vpath/\"",
"run_as ./occ --no-warnings config:system:set onlyoffice DocumentServerInternalUrl --value=\"http://${var.instance}-onlyoffice/\"",
"run_as ./occ --no-warnings config:system:set onlyoffice StorageUrl --value=\"http://nextcloud/\"",
"run_as ./occ --no-warnings config:system:set onlyoffice jwt_secret --value=\"$${ONLYOFFICE_JWT_SECRET}\"",
"run_as ./occ --no-warnings config:app:set onlyoffice DocumentServerUrl --value=\"https://onlyoffice.${local.dns-name}/\"",
"run_as ./occ --no-warnings config:app:set onlyoffice DocumentServerInternalUrl --value=\"http://${var.instance}-onlyoffice/\"",
"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 ||:"]:[])
data-config-init = {