From 3d72f76acd17dbb923b67920b2dbd19d684159f9 Mon Sep 17 00:00:00 2001 From: Linus Gasser Date: Sat, 17 Oct 2026 14:17:36 +0200 Subject: [PATCH] Adding EuroOffice This PR adds the EuroOffice integration to Nextcloud. --- .env.sample | 5 +++++ README.md | 28 ++++++++++++++++++++++++++++ abra.sh | 6 ++++++ compose.eurooffice.yml | 13 +++++++++++++ release/next | 2 ++ 5 files changed, 54 insertions(+) create mode 100644 compose.eurooffice.yml diff --git a/.env.sample b/.env.sample index 4405472..47ede50 100644 --- a/.env.sample +++ b/.env.sample @@ -69,6 +69,11 @@ DEFAULT_QUOTA="10 GB" # APPS="$APPS onlyoffice" # SECRET_ONLYOFFICE_JWT_VERSION=v1 +# COMPOSE_FILE="$COMPOSE_FILE:compose.eurooffice.yml" +# EUROOFFICE_URL=https://euro-office.example.com +# APPS="$APPS eurooffice" +# SECRET_EURO_JWT_VERSION=v1 + # COMPOSE_FILE="$COMPOSE_FILE:compose.bbb.yml" # BBB_URL=https://talk.example.org/bigbluebutton/ # trailing slash! # SECRET_BBB_SECRET_VERSION=v1 diff --git a/README.md b/README.md index a373067..ca523f3 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,34 @@ Then set the onlyoffice JWT secret from the onlyoffice installation: * `abra app secret insert onlyoffice_jwt v1 ` * `abra app cmd app install_onlyoffice` +### Euro-Office Integration + +First, deploy the [Euro-Office Recipe](https://recipes.coopcloud.tech/euro-office), +and keep its JWT secret. Then configure your nextcloud instance with: + +`abra app config ` + +Configure the following envs with the URL of the euro-office service: +``` +COMPOSE_FILE="$COMPOSE_FILE:compose.eurooffice.yml" +EUROOFFICE_URL=https://euro-office.example.com +SECRET_EURO_JWT_VERSION=v1 +``` + +Then set the euro-office JWT secret from the euro-office installation: + +`abra app secret insert euro_jwt v1 ` + +Now make sure that your nextcloud recipe is correctly deployed. +If it's a fresh install, deploy it, if Euro-Office is added after +the install, force-deploy it to update the configuration variables: + +`abra app deploy -f ` + +Once that is up and running, install the eurooffice plugin for nextcloud: + +`abra app cmd app install_eurooffice` + ### BBB Integration `abra app config ` diff --git a/abra.sh b/abra.sh index 250145e..d68a372 100644 --- a/abra.sh +++ b/abra.sh @@ -84,6 +84,12 @@ install_onlyoffice() { set_app_config onlyoffice customizationForcesave true } +install_eurooffice() { + install_apps eurooffice + set_app_config eurooffice DocumentServerUrl "$EUROOFFICE_URL" + set_app_config eurooffice jwt_secret "$(cat /run/secrets/euro_jwt)" +} + install_collabora() { install_apps richdocuments set_app_config richdocuments wopi_url "$COLLABORA_URL" diff --git a/compose.eurooffice.yml b/compose.eurooffice.yml new file mode 100644 index 0000000..ade76b3 --- /dev/null +++ b/compose.eurooffice.yml @@ -0,0 +1,13 @@ +version: "3.8" + +services: + app: + secrets: + - euro_jwt + environment: + - EUROOFFICE_URL + +secrets: + euro_jwt: + external: true + name: ${STACK_NAME}_euro_jwt_${SECRET_EURO_JWT_VERSION} diff --git a/release/next b/release/next index 20b9576..64885f0 100644 --- a/release/next +++ b/release/next @@ -11,3 +11,5 @@ IMPORTANT: `abra app cmd app run_occ '"app:update --all"'` - Review app (plug-in) compatibility with Nextcloud 34 before upgrading; some apps may need to be updated or temporarily disabled. + +- This release adds support for Euro-Office, see the README.md for instructions.