All Projects → smehrbrodt → Nextcloud Libreoffice Online

smehrbrodt / Nextcloud Libreoffice Online

Licence: mit
Docker configuration for Nextcloud with LibreOffice Online (plain http, no SSL support)

Projects that are alternatives of or similar to Nextcloud Libreoffice Online

Server Setup
Home Server Setup
Stars: ✭ 59 (-35.87%)
Mutual labels:  nextcloud, docker-compose
Aria2 Ariang X Docker Compose
Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
Stars: ✭ 1,581 (+1618.48%)
Mutual labels:  nextcloud, docker-compose
Docker Compose
常用的 docker-compose 文件
Stars: ✭ 87 (-5.43%)
Mutual labels:  docker-compose
Dotnetcore Microservices Poc
Very simplified insurance sales system made in a microservices architecture using .NET Core
Stars: ✭ 1,304 (+1317.39%)
Mutual labels:  docker-compose
Dockerfiles
Just some Dockerfiles I'm playing around with.
Stars: ✭ 88 (-4.35%)
Mutual labels:  docker-compose
Docker springboot tomcat mysql demo
How to setup docker with SpringBoot on Tomcat and MySQL
Stars: ✭ 88 (-4.35%)
Mutual labels:  docker-compose
Docker Multistreamer
Dockerized multistreamer
Stars: ✭ 90 (-2.17%)
Mutual labels:  docker-compose
Mechanist
[Docker] - The Mechanist is a collection of Dockerfiles and Composefiles for various tools and purposes.
Stars: ✭ 86 (-6.52%)
Mutual labels:  docker-compose
Django Project Template
Thorgate's Django project template - Django, React, Sass, optional Docker and more
Stars: ✭ 91 (-1.09%)
Mutual labels:  docker-compose
Nextcloud Vue
🍱 Vue.js components for Nextcloud app development ✌
Stars: ✭ 89 (-3.26%)
Mutual labels:  nextcloud
Docker Symfony
🐳 A docker multicontainer with NGINX, PHP7-FPM, MySQL and ELK (Elasticsearch Logstash and Kibana)
Stars: ✭ 1,305 (+1318.48%)
Mutual labels:  docker-compose
Barge
🐳 Docker Compose files for the full Ocean Protocol stack
Stars: ✭ 88 (-4.35%)
Mutual labels:  docker-compose
Docker Series
Docker Series about containerizing ASP.NET Core app with MySQL..
Stars: ✭ 88 (-4.35%)
Mutual labels:  docker-compose
Xsrv
[mirror] Install and manage self-hosted services/applications, on your own server(s) - ansible collection and utilities
Stars: ✭ 89 (-3.26%)
Mutual labels:  nextcloud
Docker Django Example
A production ready example Django app that's using Docker and Docker Compose.
Stars: ✭ 86 (-6.52%)
Mutual labels:  docker-compose
Docker Experiments
Discover docker with a simple use case in development, production (local kubernetes) and CI
Stars: ✭ 92 (+0%)
Mutual labels:  docker-compose
Docker Cloud Platform
使用Docker构建云平台,Docker云平台系列共三讲,Docker基础、Docker进阶、基于Docker的云平台方案。OpenStack+Docker+RestAPI+OAuth/HMAC+RabbitMQ/ZMQ+OpenResty/HAProxy/Nginx/APIGateway+Bootstrap/AngularJS+Ansible+K8S/Mesos/Marathon构建/探索微服务最佳实践。
Stars: ✭ 86 (-6.52%)
Mutual labels:  docker-compose
Docker Compose Lamp
A basic LAMP stack environment built using Docker Compose.
Stars: ✭ 1,284 (+1295.65%)
Mutual labels:  docker-compose
Nodejs Backend Architecture Typescript
Node.js Backend Architecture Typescript - Learn to build a backend server for Blogging platform like Medium, FreeCodeCamp, MindOrks, AfterAcademy - Learn to write unit and integration tests - Learn to use Docker image - Open-Source Project By AfterAcademy
Stars: ✭ 1,292 (+1304.35%)
Mutual labels:  docker-compose
React Pinpoint
An open source utility library for measuring React component render times.
Stars: ✭ 93 (+1.09%)
Mutual labels:  docker-compose

Nextcloud with LibreOffice Online

This docker configuration help with setting up Nextcloud with LibreOffice Online for testing purposes. It keeps things as simple as possible (no https e.g.).

Preparations

To get started, you need two virtual machines with two different hostnames. Install some recent Linux distro on them, e.g. Ubuntu 18.04 (64bit required).

Install docker and docker-compose on them.

Then clone this repo. You need the folder nextcloud on one machine and the folder libreoffice-online on the other machine.

Setup Nextcloud

Go to the folder nextcloud. If you want to set up nextcloud with a MariaDB database, copy the .env.sample to .env and set the environment variables accordingly. Note that the database host is called 'db'.

If you want to use sqlite instead, you can skip this step.

Run docker-compose up -d. This will setup Nextcloud and the database for you.

Now configure Nextcloud in your web browser. It's available on http://yourhost:80 You can change the port in docker-compose.yml.

When nextcloud is set up, install the App "Collabora Online". Then go to Configuration->Collabora Online and enter the domain name of your other VM, e.g. http://libreoffice.yourhost:9980

Setup LibreOffice Online

On your other VM, go to the folder "libreoffice-online".

Copy the .env.sample to .env and set the environment variables accordingly.

  • NEXTCLOUD_DOMAIN must be set to the domain where your nextcloud is running, e.g. yourhost in this example.
  • LO_ONLINE_USERNAME and LO_ONLINE_PASSWORD are used to access the LibreOffice Online dashboard (not absolutely necessary).

Once set, run docker-compose up -d. This will start LibreOffice online with SSL disabled.

Configuration changes

The configuration is stored in a docker volume. This way LibreOffice Online can be configured on the host system and the config will not be overwritten when updating the docker container.

The volume is created by docker-compose. You can find the volume name via: docker volume ls (eg. libreoffice-online_config-volume). Finally, find the location of the config file with docker volume inspect <volume_name>. You should see the mount point, for example: /var/lib/docker/volumes/libreoffice-online_config-volume/_data. The file loolwsd.xml in that directory is the main config file.

Edit it to your liking, then restart the container: docker-compose restart

Using it

You should now be able to edit documents in your nextcloud with LibreOffice online. Create a document using the '+' button or upload some.

To access the LibreOffice Online admin dashboard, visit http://libreoffice.yourhost:9980/loleaflet/dist/admin/admin.html and use the credentials from your .env file.

To test just LibreOffice Online without using Nextcloud, visit http://libreoffice.yourhost:9980/loleaflet/dist/loleaflet.html?file_path=file:///opt/libreoffice/share/template/common/internal/idxexample.odt . Note that you have to allow local file access for this to work. Look for storage/filesystem in the config.

Updating

To get the latest version, run the following two commands:

docker-compose pull
docker-compose up -d --build

Troubleshooting

If it doesn't work, look at the logs from your docker containers, easiest with: docker-compose logs

Professional support

If you want to deploy LibreOffice Online in your company/organization, please contact us at https://libreoffice.cib.de/ to get professional support.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].