From 952043be08a5f88674ed12ab0a7ca0c56793d212 Mon Sep 17 00:00:00 2001 From: alex <88835216+a4004@users.noreply.github.com> Date: Mon, 5 Aug 2024 08:11:43 +0100 Subject: [PATCH] added onlyoffice to this branch --- onlyoffice-nextcloud/docker-compose.yml | 8 ++++---- onlyoffice-nextcloud/exports.sh | 6 +----- onlyoffice-nextcloud/umbrel-app.yml | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/onlyoffice-nextcloud/docker-compose.yml b/onlyoffice-nextcloud/docker-compose.yml index ac168c8247..29b1b91398 100644 --- a/onlyoffice-nextcloud/docker-compose.yml +++ b/onlyoffice-nextcloud/docker-compose.yml @@ -9,9 +9,9 @@ services: image: a4004/onlyoffice-nextcloud-web:1.0.4@sha256:774bd9bda641e6be49286921637840efba050fdfd022934dfd9ee9b6ec8d0a63 restart: on-failure environment: - - DOCS_ADDRESS=http://$DEFAULT_INTERFACE_IP:$DOCSERVER_PORT - - DOCS_INTERNAL_ADDRESS=http://$DEFAULT_INTERFACE_IP:$DOCSERVER_PORT - - NEXTCLOUD_INTERNAL_ADDRESS=http://$DOCKER_INTERFACE_IP:$APP_NEXTCLOUD_PORT + - DOCS_ADDRESS=http://$DEVICE_DOMAIN_NAME:$DOCSERVER_PORT + - DOCS_INTERNAL_ADDRESS=http://onlyoffice-nextcloud_documentserver_1 + - NEXTCLOUD_INTERNAL_ADDRESS=http://$GATEWAY_IP:$APP_NEXTCLOUD_PORT - NEXTCLOUD_WEB_URL=http://$DEVICE_DOMAIN_NAME:$APP_NEXTCLOUD_PORT documentserver: @@ -19,7 +19,7 @@ services: restart: on-failure stop_grace_period: 1m ports: - - 5672:80 + - "${DOCSERVER_PORT}:80" environment: - JWT_ENABLED=false - ONLYOFFICE_HTTPS_HSTS_ENABLED=false diff --git a/onlyoffice-nextcloud/exports.sh b/onlyoffice-nextcloud/exports.sh index 521cd21c65..e5e1038022 100644 --- a/onlyoffice-nextcloud/exports.sh +++ b/onlyoffice-nextcloud/exports.sh @@ -1,7 +1,3 @@ #!/usr/bin/env bash -export DOCSERVER_PORT=5672 -export APP_DOCSERVER_PORT=3014 - -export DEFAULT_INTERFACE_IP=$(ip addr show $(ip route | grep default | awk '{print $5}') | grep 'inet ' | awk '{print $2}' | cut -d/ -f1) -export DOCKER_INTERFACE_IP=$(ip addr show docker0 | grep 'inet ' | awk '{print $2}' | cut -d/ -f1) \ No newline at end of file +export DOCSERVER_PORT=5672 \ No newline at end of file diff --git a/onlyoffice-nextcloud/umbrel-app.yml b/onlyoffice-nextcloud/umbrel-app.yml index 6823b8726a..e32966d09d 100644 --- a/onlyoffice-nextcloud/umbrel-app.yml +++ b/onlyoffice-nextcloud/umbrel-app.yml @@ -1,7 +1,7 @@ manifestVersion: 1 id: onlyoffice-nextcloud category: files -name: ONLYOFFICE Document Server +name: ONLYOFFICE Docs version: "8.1" tagline: Run your private office with the ONLYOFFICE description: >-