diff --git a/onlyoffice-nextcloud/data/cache/.gitkeep b/onlyoffice-nextcloud/data/cache/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/onlyoffice-nextcloud/data/certs/.gitkeep b/onlyoffice-nextcloud/data/certs/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/onlyoffice-nextcloud/data/db/.gitkeep b/onlyoffice-nextcloud/data/db/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/onlyoffice-nextcloud/data/logs/.gitkeep b/onlyoffice-nextcloud/data/logs/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/onlyoffice-nextcloud/docker-compose.yml b/onlyoffice-nextcloud/docker-compose.yml new file mode 100644 index 0000000000..a76d3c2383 --- /dev/null +++ b/onlyoffice-nextcloud/docker-compose.yml @@ -0,0 +1,33 @@ +version: '3.9' +services: + app_proxy: + environment: + APP_HOST: onlyoffice-nextcloud_web_1 + APP_PORT: 3000 + + web: + image: a4004/onlyoffice-nextcloud-web:1.0.4@sha256:774bd9bda641e6be49286921637840efba050fdfd022934dfd9ee9b6ec8d0a63 + restart: on-failure + environment: + - DOCS_ADDRESS=http://$DEVICE_DOMAIN_NAME:$DOCSERVER_PORT + - DOCS_INTERNAL_ADDRESS=http://onlyoffice-nextcloud_documentserver_1 + - NEXTCLOUD_INTERNAL_ADDRESS=http://nextcloud_web_1 + - NEXTCLOUD_WEB_URL=http://$DEVICE_DOMAIN_NAME:$APP_NEXTCLOUD_PORT + + documentserver: + image: onlyoffice/documentserver:8.1@sha256:9b74cb0e05580bced87f9af69de68d5f4c9e5b3340448ddc94333f5f7f4eba85 + restart: on-failure + stop_grace_period: 1m + ports: + - "${DOCSERVER_PORT}:80" + environment: + - JWT_ENABLED=false + - ONLYOFFICE_HTTPS_HSTS_ENABLED=false + - USE_UNAUTHORIZED_STORAGE=true + - ALLOW_PRIVATE_IP_ADDRESS=true + - ALLOW_META_IP_ADDRESS=true + volumes: + - ${APP_DATA_DIR}/data/logs:/var/log/onlyoffice + - ${APP_DATA_DIR}/data/certs:/var/www/onlyoffice/Data + - ${APP_DATA_DIR}/data/cache:/var/lib/onlyoffice + - ${APP_DATA_DIR}/data/db:/var/lib/postgresql \ No newline at end of file diff --git a/onlyoffice-nextcloud/exports.sh b/onlyoffice-nextcloud/exports.sh new file mode 100644 index 0000000000..e5e1038022 --- /dev/null +++ b/onlyoffice-nextcloud/exports.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +export DOCSERVER_PORT=5672 \ No newline at end of file diff --git a/onlyoffice-nextcloud/umbrel-app.yml b/onlyoffice-nextcloud/umbrel-app.yml new file mode 100644 index 0000000000..77da6384f8 --- /dev/null +++ b/onlyoffice-nextcloud/umbrel-app.yml @@ -0,0 +1,30 @@ +manifestVersion: 1 +id: onlyoffice-nextcloud +category: files +name: ONLYOFFICE Docs +version: "8.1" +tagline: Online office for Nextcloud +description: >- + An online office suite for Nextcloud that enables you to create, edit and collaborate on text documents, spreadsheets and presentations in real time. + + + Simply install ONLYOFFICE Docs and follow the in-app instructions to connect it to Nextcloud running on your Umbrel. +releaseNotes: "" +developer: Ascensio System SIA +website: https://www.onlyoffice.com/ +dependencies: + - nextcloud +repo: https://github.com/ONLYOFFICE/DocumentServer +support: https://forum.onlyoffice.com/ +port: 3014 +gallery: + - 1.jpg + - 2.jpg + - 3.jpg + - 4.jpg + - 5.jpg +path: "" +defaultUsername: "" +defaultPassword: "" +submitter: a4004 +submission: https://github.com/getumbrel/umbrel-apps/pull/1288 \ No newline at end of file