From 1b0d971db132db9b4db4ff3709b13ffbc61e61e2 Mon Sep 17 00:00:00 2001 From: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Mon, 9 May 2022 10:10:10 +0000 Subject: [PATCH] commit b9abdabf250dfdc8ff4a396d0250ec4b88b50036 Merge: 22ef98021 52f9938a3 Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Mon May 9 12:07:57 2022 +0200 Merge pull request #3742 from wkloucek/remove-codimd-deployment-example remove codimd from deployment example --- grpc_apis/ocis/messages/accounts/v0/grpc.md | 2 +- grpc_apis/ocis/messages/search/v0/grpc.md | 2 +- grpc_apis/ocis/messages/settings/v0/grpc.md | 2 +- grpc_apis/ocis/messages/store/v0/grpc.md | 2 +- grpc_apis/ocis/messages/thumbnails/v0/grpc.md | 2 +- grpc_apis/ocis/services/accounts/v0/grpc.md | 2 +- grpc_apis/ocis/services/search/v0/grpc.md | 2 +- grpc_apis/ocis/services/settings/v0/grpc.md | 2 +- grpc_apis/ocis/services/store/v0/grpc.md | 2 +- grpc_apis/ocis/services/thumbnails/v0/grpc.md | 2 +- ocis/deployment/ocis_wopi.md | 37 ++++++------------- 11 files changed, 21 insertions(+), 36 deletions(-) diff --git a/grpc_apis/ocis/messages/accounts/v0/grpc.md b/grpc_apis/ocis/messages/accounts/v0/grpc.md index ee80149e905..1dc4dc1dd8e 100644 --- a/grpc_apis/ocis/messages/accounts/v0/grpc.md +++ b/grpc_apis/ocis/messages/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.accounts.v0" url: /grpc_apis/ocis_messages_accounts_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/search/v0/grpc.md b/grpc_apis/ocis/messages/search/v0/grpc.md index f46cd88ca1a..c54a4d8ccd6 100644 --- a/grpc_apis/ocis/messages/search/v0/grpc.md +++ b/grpc_apis/ocis/messages/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.search.v0" url: /grpc_apis/ocis_messages_search_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/settings/v0/grpc.md b/grpc_apis/ocis/messages/settings/v0/grpc.md index 151b00ce2b6..db967294b00 100644 --- a/grpc_apis/ocis/messages/settings/v0/grpc.md +++ b/grpc_apis/ocis/messages/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.settings.v0" url: /grpc_apis/ocis_messages_settings_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/store/v0/grpc.md b/grpc_apis/ocis/messages/store/v0/grpc.md index a8d37d2b0c8..0e40949a8b6 100644 --- a/grpc_apis/ocis/messages/store/v0/grpc.md +++ b/grpc_apis/ocis/messages/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.store.v0" url: /grpc_apis/ocis_messages_store_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md index 419b69ec731..43d7fe42693 100644 --- a/grpc_apis/ocis/messages/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/messages/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.messages.thumbnails.v0" url: /grpc_apis/ocis_messages_thumbnails_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/accounts/v0/grpc.md b/grpc_apis/ocis/services/accounts/v0/grpc.md index 20f07582b73..a155d6b47f2 100644 --- a/grpc_apis/ocis/services/accounts/v0/grpc.md +++ b/grpc_apis/ocis/services/accounts/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.accounts.v0" url: /grpc_apis/ocis_services_accounts_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/search/v0/grpc.md b/grpc_apis/ocis/services/search/v0/grpc.md index 71e708e42d2..568eb55304f 100644 --- a/grpc_apis/ocis/services/search/v0/grpc.md +++ b/grpc_apis/ocis/services/search/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.search.v0" url: /grpc_apis/ocis_services_search_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/settings/v0/grpc.md b/grpc_apis/ocis/services/settings/v0/grpc.md index a9fc9b1d794..f07148ec340 100644 --- a/grpc_apis/ocis/services/settings/v0/grpc.md +++ b/grpc_apis/ocis/services/settings/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.settings.v0" url: /grpc_apis/ocis_services_settings_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/store/v0/grpc.md b/grpc_apis/ocis/services/store/v0/grpc.md index 9ba81bcacf2..9a4c722e5b4 100644 --- a/grpc_apis/ocis/services/store/v0/grpc.md +++ b/grpc_apis/ocis/services/store/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.store.v0" url: /grpc_apis/ocis_services_store_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/grpc_apis/ocis/services/thumbnails/v0/grpc.md b/grpc_apis/ocis/services/thumbnails/v0/grpc.md index 1fa3cf6b18f..8ae340a0844 100644 --- a/grpc_apis/ocis/services/thumbnails/v0/grpc.md +++ b/grpc_apis/ocis/services/thumbnails/v0/grpc.md @@ -1,7 +1,7 @@ --- title: "ocis.services.thumbnails.v0" url: /grpc_apis/ocis_services_thumbnails_v0 -date: 2022-05-09T09:39:45Z +date: 2022-05-09T10:09:19Z weight: 50 geekdocRepo: https://github.com/owncloud/ocis --- diff --git a/ocis/deployment/ocis_wopi.md b/ocis/deployment/ocis_wopi.md index 4c1199104de..79a8fb57875 100644 --- a/ocis/deployment/ocis_wopi.md +++ b/ocis/deployment/ocis_wopi.md @@ -9,15 +9,11 @@ geekdocFilePath: ocis_wopi.md {{< toc >}} -{{< hint warning >}} -OnlyOffice and CodiMD are not yet fully integrated and there are known issues. For the current state please have a look at [owncloud/ocis#2595](https://github.com/owncloud/ocis/issues/2595) -{{< /hint >}} - ## Overview -* oCIS, Wopi server, Collabora, OnlyOffice and CodiMD running behind Traefik as reverse proxy -* Collabora, OnlyOffice and CodiMD enable you to edit documents in your browser -* Wopi server acts as a bridge to make the oCIS storage accessible to Collabora, OnlyOffice and CodiMD +* oCIS, Wopi server, Collabora and OnlyOffice running behind Traefik as reverse proxy +* Collabora and OnlyOffice enable you to edit documents in your browser +* Wopi server acts as a bridge to make the oCIS storage accessible to Collabora and OnlyOffice * Traefik generating self-signed certificates for local setup or obtaining valid SSL certificates for a server setup [Find this example on GitHub](https://github.com/owncloud/ocis/tree/master/deployments/examples/ocis_wopi) @@ -26,9 +22,9 @@ The docker stack consists of 10 containers. One of them is Traefik, a proxy whic The next container is oCIS itself in a configuration like the [oCIS with Traefik example]({{< ref "ocis_traefik" >}}), except that for this example a custom mimetype configuration is used. -There are three oCIS app driver containers that register Collabora, OnlyOffice and CodiMD at the app registry. +There are three oCIS app driver containers that register Collabora and OnlyOffice at the app registry. -The last four containers are the WOPI server, Collabora, OnlyOffice and CodiMD. +The last four containers are the WOPI server, Collabora and OnlyOffice. ## Server Deployment @@ -36,16 +32,14 @@ The last four containers are the WOPI server, Collabora, OnlyOffice and CodiMD. * Linux server with docker and docker-compose installed * Three domains set up and pointing to your server - - ocis.* for serving oCIS - - collabora.* for serving Collabora - - onlyoffice.* for serving OnlyOffice - - codimd.* for serving CodiMD - - wopiserver.* for serving the WOPI server - - traefik.* for serving the Traefik dashboard + * ocis.* for serving oCIS + * collabora.* for serving Collabora + * onlyoffice.* for serving OnlyOffice + * wopiserver.* for serving the WOPI server + * traefik.* for serving the Traefik dashboard See also [example server setup]({{< ref "preparing_server" >}}) - ### Install oCIS and Traefik * Clone oCIS repository @@ -106,12 +100,6 @@ See also [example server setup]({{< ref "preparing_server" >}}) ### OnlyOffice settings ### # Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test" ONLYOFFICE_DOMAIN= - - ### CodiMD settings ### - # Domain of Collabora, where you can find the frontend. Defaults to "codimd.owncloud.test" - CODIMD_DOMAIN= - # Secret which is used for the communication with the WOPI server. Must be changed in order to have a secure CodiMD. Defaults to "LoremIpsum456" - CODIMD_SECRET= ``` You are installing oCIS on a server and Traefik will obtain valid certificates for you so please remove `INSECURE=true` or set it to `false`. @@ -140,8 +128,6 @@ See also [example server setup]({{< ref "preparing_server" >}}) Next up is OnlyOffice, which also needs a domain in `ONLYOFFICE_DOMAIN=`. - The last configuration options are for CodiMD, which needs a domain in `CODIMD_DOMAIN=` and a random secret in `CODIMD_SECRET=`. - Now you have configured everything and can save the file. * Start the docker stack @@ -162,7 +148,6 @@ On Linux and macOS you can add them to your `/etc/hosts` file and on Windows to 127.0.0.1 traefik.owncloud.test 127.0.0.1 collabora.owncloud.test 127.0.0.1 onlyoffice.owncloud.test -127.0.0.1 codimd.owncloud.test 127.0.0.1 wopiserver.owncloud.test ``` @@ -170,7 +155,7 @@ After that you're ready to start the application stack: `docker-compose up -d` -Open https://collabora.owncloud.test, https://onlyoffice.owncloud.test, https://codimd.owncloud.test and https://wopiserver.owncloud.test in your browser and accept the invalid certificate warning. +Open https://collabora.owncloud.test, https://onlyoffice.owncloud.test and https://wopiserver.owncloud.test in your browser and accept the invalid certificate warning. Open https://ocis.owncloud.test in your browser and accept the invalid certificate warning. You are now able to open an office document in your browser. You may need to wait some minutes until all services are fully ready, so make sure that you try to reload the pages from time to time.