Full Raspberry Pi Tutorial:
1. Install Docker
sudo apt update
sudo apt install docker.io
sudo systemctl enable docker
2. Allow user to edit docker without sudo:
sudo usermod -aG docker pi
3. Log in and out
4. Install Collabora Online Development Edition (CODE):
docker pull collabora/code
5. Install Nextcloud:
docker pull nextcloud:latest
6. Run Nextcloud
sudo docker run -d \
--name nextcloud \
-v nextcloud_data:/var/www/html \
-p 8080:80 \
--restart always \
nextcloud:latest
6. Run CODE
docker run -t -d -p 9980:9980 \
-e "extra_params=--o:ssl.enable=false --o:user_interface.use_integration_theme=false" \
--name collabora_online \
--restart always \
collabora/code
7. Login to Nextcloud:
[Pi_IP_Address}:8080
8. Create a username and password
9. Install “Nextcloud Office”
10. Configure Nextcloud Office
Administration Settings > Office
Point it to http://[Pi_IP_Address]:9980
11. Upload or create a document to edit in Collabora Online!
Generalised Setup Instructions:
You can try CODE in 5 minutes with Nextcloud following these basic steps:
- Find out the IP address of your computer, e.g. 192.168.100.20
- Run Nextcloud from docker:
docker run -d -p 80:80 nextcloud
- In your browser go to http://192.168.100.20 and set up your Nextcloud.
- In Nextcloud go to Apps – Office and Text, and install Nextcloud Office (Collabora Online) app.
- Run CODE from docker:
docker run -t -d -p 9980:9980 -e "extra_params=--o:ssl.enable=false" collabora/code
- Set up the Collabora Online server in Nextcloud Settings – Collabora Online to http://192.168.100.20:9980
Note 1: Of course, this is only good for a quick look at the features, it is not for production by any means.
Note 2: Do not use localhost
or 127.0.0.1
instead of IP address of your computer, because these addresses do not resolve from the containers. This means not only not using it for the address of Collabora Online configured in Nextcloud, but also for the URL you connect to in the browser to test.