From b6986f81148d54801b41263033e0bc8f69f39a52 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 13 Dec 2024 14:32:52 +0300 Subject: [PATCH] now works through traefik... Signed-off-by: Alex A. Naanou --- nextcloud/make.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nextcloud/make.sh b/nextcloud/make.sh index 7d57a83..2997dc5 100755 --- a/nextcloud/make.sh +++ b/nextcloud/make.sh @@ -146,7 +146,9 @@ pctPushAssets $ID # Colabora... if ! [ -z $COLLABORA_OFFICE ] ; then echo "# Collabora office..." + # coolwsd... + # XXX still need to make this work through a reverse proxy... # see: # https://sdk.collaboraonline.com/docs/installation/Configuration.html @ lxc-attach $ID -- bash -c "\ @@ -157,6 +159,7 @@ if ! [ -z $COLLABORA_OFFICE ] ; then && apt install -y coolwsd code-brand" # XXX should these be set in here or as args in the coolwsd.service ??? # /etc/coolwsd/coolwsd.xml + # XXX add groups... # ssl>enable -> false @ lxc-attach $ID -- bash -c "\ sed -i \ @@ -167,6 +170,13 @@ if ! [ -z $COLLABORA_OFFICE ] ; then sed -i \ '/]*>\)false\(<\/termination>\)/\1true\2/ }' \ /etc/coolwsd/coolwsd.xml" + # alias_groups... + @ lxc-attach $ID -- bash -c "\ + sed -i \ + -e '// i\ https://${APP_DOMAIN}' \ + -e '/<\/alias_groups>/ i\ https://${CTHOSTNAME}.srv' \ + /etc/coolwsd/coolwsd.xml" @ lxc-attach $ID -- systemctl restart coolwsd # apache2...