server app:9000;     ssl_dhparam /etc/ssl/certs/dhparam.pem; So, as you're no doubt aware, both NextCloud and Collabora Office are always being improved and updated. SMTP login security: whether login is via TLS, SSL, or unsecure (!!         #  includeSubDomains; preload;"; In the file you just created, paste the following: version: …       - 127.0.0.1:8082:80 You need to set a root (admin) user password - you might want to create a /root/.my.cnf file containing the following (replacing YOURPASSWORD) to let you access MariaDB without a password from the commandline: You should now be able to type "mysql" at the command prompt, Tweak the configuration so that it's listening on, sudo vim /etc/mysql/mariadb.conf.d/50-server.cnf. With the dictionaries environment variable you can change this list.         proxy_set_header Host $http_host; By default only limited set of spelling dictionaries and thesauri are configured for CODE, mainly for performance reasons.         fastcgi_param HTTPS on; database user: nextcloud is the WOPI host, i.e. You'll be asked to set up an admin user account, which can be "admin" (you could make it something different to help stymie nefarious probes that assume you've got a user called "admin" - but don't forget what you've called it!)     }, location ~ ^/(?:updater|ocs-provider)(? sudo chown -R me:me /home/docker cd /home/docker/nextcloud-collabora. SMTP login method: plain, encrypted, "login" or some other value. Today Nextcloud announced support for online office with Collabora Online using a docker image to host the Collabora Online server.. ): #DEFAULT_FORWARD_POLICY="DROP"     image: nextcloud:12-fpm       - VIRTUAL_HOST         /usr/local/bin/php /var/www/html/cron.php     volumes_from: Diese Anleitung soll die Installation von Collabora Online 2.0 ohne Docker beschreiben.     entrypoint: | sudo mkdir /home/data/nextcloud/redis     }. Installiert wird auf einem Ubuntu 16.04 LTS (aber alle Befehle funktionieren auch auf Debian). Doh!). No computer system is ever full secure - there're always exploits waiting to be found, so security is a process of maintaining vigilance.     server_name nextcloud.domain; ssl_certificate /etc/letsencrypt/live/nextcloud.domain/fullchain.pem; (It has to be installed and used together with the Collabora Online app – step 2). This app provides a built-in server with all of the document editing features of Collabora Online. No, we don’t have to compile Collabora (Thx Collabora) Collabora have released packages for Ubuntu 16.04 and 18.04, Great! Specifically for Docker's benefit, you need to tweak the default Forwarding rule (I use "vim" as my editor. *)$; Collabora Ltd © 2005-2020.       username: admin      # put your own strong password in here! Collabora Online will be shipped out of the box with the new Nextcloud 19 Hub.       - 127.0.0.1:9980:9980 Here's an example of the required docker-compose.yml file (you can create this via a text editor like "nano" which should be pre-installed on any VM these days, or use my preferred, but less intuitive, editor, vim via vim docker-compose.yml in the /home/docker/nextcloud-collabora directory): version: '2' networks: back: driver: … We've reached the moment of truth where we need to see if this whole thing will work!     # Make sure it is BELOW the PHP block I have a working NC/Collabora installation using docker-compose and docker-swarm. The optional username and password parameters enable the admin console feature of CODE. The default set of languages is the following: de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru.         try_files $uri /index.php$uri$is_args$args; To allow nginx to be visible via ports 80 and 443, run. Running Online Office with Nextcloud and nginx. You need to log into the host from your local machine. One of my biggest troubles, though, was that the current recommended way to install Collabora Online was through Docker. So we can expect progress will be rapid, and large sets of new capabilities will be "unlocked" as they progress their efforts. The over all architecture consists of five Docker containers (note, done properly, you aim to ensure that each container runs only one service! Diese Anleitung soll die Installation von Collabora Online 2.0 ohne Docker beschreiben.       - app Also note, the "ports" specified above, 8082 for nginx and 9980 for collab are arbitrary - I picked these to ensure they don't conflict with ports being used by other containers on my server - you can use these if you want, or use sudo netstat -punta to see what ports are currently claimed by other services on your server (if there are any) and pick ones that don't clash! Install Collabora (Docker) Install Collabora integration app for ownCloud (manual installation by the administrator) 2.       allow all; But remember to do it in the right directory!)       domain: your\\.domain\\.tld             return  302 https://collab.domain$request_uri;         # Optional: Don't log access to assets Installing LimeSurvey with Docker on Ubuntu 16.04 with Nginx and Mariadb, WikiEducator Notes: OERu's course feed aggregation and messaging system, OERu MediaWiki to WordPress Snapshot Toolchain, Installing Mastodon with Docker-Compose on Ubuntu 16.04, Docker Compose: A better way to deploy Rocketchat, Wekan, and MongoDB, Installing MongoDB with Docker on Ubuntu Linux 14.04, Installing Mautic with PHP7-FPM on Docker, Nginx, and MariaDB on Ubuntu 16.04. a Linux virtual machine or "VM" (I recommend running the current Ubuntu LTS version, or current Debian) with a user with Sudo privileges.... your domain name for the NextCloud instance, pointing to the IP address of your VM, your domain name for the Collabora instance, also pointing to the IP of your VM, and, credentials for an email address capable of sending from a remote server (usually termed an "authenticating SMTP email account"), the main NextCloud container (running the PHP-FPM service), an identical container to the PHP one which runs the cron service (which does periodic administrative tasks relevant to NextCloud), the self-contained Collabora Office container (running PHP with an Apache web server instance and a full instance of LibreOffice running in headless server mode (never fear, no servers were harmed in the building of this server!) sudo ln -sf ../sites-available/collab . sudo ufw allow in on docker0 The Platinum Building, St John's Innovation Park, Cambridge, CB4 0DS, UK Registered in England and Wales with company number 08644931 Telephone +44 (0)1223 362967 sales@collaboraoffice.com https://www.collaboraoffice.com     listen 443 ssl; I tried the IPv6 command on the Ubuntu VM and same thing occured.         add_header X-Frame-Options "SAMEORIGIN"; DEFAULT_FORWARD_POLICY="ACCEPT". Escape any .     }, location = /.well-known/carddav {     server_name collab.domain; # for let's encrypt renewals!       - /home/data/nextcloud/redis:/data     server_name collab.domain; ssl_certificate /etc/letsencrypt/live/collab.domain/fullchain.pem; Collabora Online Development Edition (CODE), Collabora Online as Univention app appliance, Collabora Online and SharePoint Integration.       EOF'     location ^~ / {       log_not_found off;     links: Once those are created, you have to make sure that they're "enabled" (replacing with your file names, of course): sudo cd /etc/nginx/sites-enabled Given how much companies like Google and Microsoft invest on Docs and Office 365 respectively, how is it possible for an open source community to create a credible competitor?     restart: unless-stopped.   app: cd /home/docker/nextcloud-collabora. Install Collabora using Docker Compose; Set up the Collabora server behind the reverse proxy; Enable and configure the Collabora Online connector in Nextcloud; Collabora Automatic Updates (optional) You may be able to cherry-pick from these steps if you already have some of the building blocks in place. an Nginx webserver container which makes it easier to manage the configuration and paths of the NextCloud and Collabora servers via WOPI.     add_header X-Frame-Options "SAMEORIGIN"; docker.io and docker-ce both give you a Docker binary, but through a very different build process. You'll need the following details: SMTP server : an IP address or a domain name     }, location ~ ^/(? Make sure you've got exceptions for SSH (without them, you could lock yourself out of your machine! You should be able to test your email settings to make sure the details you've entered are valid. There're lots of ways to back up your files (I personally use a bash script that I wrote in a past role, which uses rdiff-backup to create versioned backups either locally or on a remote server, although there're other documented approaches - leave a comment below if you'd like to learn more about my approach!).     volumes:     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;     }         proxy_set_header Host $http_host; server { Edit the config file with your favourite editor, then save and copy it back to the container: $ docker cp loolwsd.xml romantic_meninsky:/etc/loolwsd/loolwsd.xml.       done Note: make sure your hosting service is not blocking these ports at some outer layer (depending on who's providing that hosting service you may have to set up port forwarding).       - MKNOD         rewrite ^ /index.php$uri; Nothing in the NC log. After the -e command line option of docker run command you can define environment variables, that are passed to the container. I suggest using the latest installation instructions provided by the Docker community. With Collabora Online app appliance with Nextcloud or ownCloud, you install Collabora Online with an already integrated and preconfigured Nextcloud or ownCloud.     image: redis:alpine Dropbox is the best known of the end-user "cloud storage" services for documents, backups, and synchronising data among multiple devices, although now Google's Drive and Microsoft's OneDrive are functionally similar and are being heavily promoted and tied into all sorts of services. Use a firewall - "ufw" is installed on Ubuntu by default.   :$|/) { 0.0.0.0.     restart: unless-stopped See also installation instructions for Nextcloud 15 on Ubuntu 18.04.. Prerequisites. This fork is remarkably similar to that which occurred in the OpenOffice community which resulted in the founding of LibreOffice. The beauty of the open source software model is that we can connect NextCloud and Collabora office - completely separate and unrelated communities - thanks to a new integration standard, WOPI (Web-application Open Platform Interface) they form a well integrated component model - with the major added benefit of being able to swap in a better file management platform, or a better collaborative productivity package if one or the other emerges, without having to start from scratch. }.     - back     restart: unless-stopped       #bind-address           = 127.0.0.1         add_header X-Content-Type-Options nosniff; * to "nextcloud"@"%";     location / {         proxy_set_header Upgrade $http_upgrade;         try_files $uri /index.php$uri$is_args$args;     volumes: I don't have any of the other options ticked. The key thing to realise is that your "certificates" need to exist for Nginx to restart with the new configurations below - use the "commenting out the intervening lines" trick mentioned in my instructions to bootstrap the creation of your secure certificates! In preparation, you'll want to have the following ready: First things first, make sure you're logged into your host (probably via SSH) as a user who has "sudo" capabilities!         # Before enabling Strict-Transport-Security headers please read into When this environment variable is set (is not “”), then startup script will not generate a new SSL certificate signed by a dummy CA. Collabora is a big contributor to the LibreOffice project. See the source on GitHub. To confirm that there aren't any typos or issues that might make nginx unhappy, run.         add_header X-XSS-Protection "1; mode=block";     location ~ ^/(? All of the Collabora Online codes will be eventually included in LibreOffice. 3.       - /home/data/nextcloud/resources:/var/www/html/resources     add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";     location ^~ /lool { A small software company with headquarters in the UK (although their team appears to be from all over), Collabora Office, has taken on the ambitious mission of creating a "collaborative web interface" allowing users to collaborate using LibreOffice, one of the most powerful and widely used office package available anywhere. Run CODE from docker: docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code sudo mkdir /home/docker     add_header X-Content-Type-Options nosniff;     }         index index.php; I did the IPv6 trick however honestly didn't know where I should use these commands --- I have freebsd install of nextcloud in a jail and a vm running ubuntu which is running docker and the container.       access_log off;   web: Falls jemand Fehler in der Beschreibung findet oder Hinweise bzw Verbesserungsvorschläge hat, schreibt es in die Kommentare und ich werde die Anleitung weiter optimieren.     } Use docker-compose logs -f to watch the logs - you'll likely see debugging information in the unlikely event that something goes wrong in the upgrade process.         proxy_pass https://localhost:9980;     driver: bridge in order to do so... so ones use of those services has a magnifying effect on the loss of privacy and control. – How do I install Docker? If you are not familiar with Docker concepts and basic commands, read the Docker Get Started document first. The container will notice that the configuration file has changed, and the service will be restarted (don’t forget the –restart always option when you start the container with docker run).       bash -c 'bash -s <