Skip to main content

Nextcloud

Your own cloud for files, calendars and contacts. Phone photos, shared folders and syncing between computers, on a Raspberry Pi in the data centre instead of someone else's servers.

How to install it

The easiest way is Nextcloud All-in-One. It's a single container that sets up and updates everything else: the database, a cache and certificates. It runs on arm64, so a Raspberry Pi 5 is fine.

sudo docker run --init --sig-proxy=false \
  --name nextcloud-aio-mastercontainer \
  --restart always \
  --publish 80:80 --publish 8080:8080 --publish 8443:8443 \
  --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
  --volume /var/run/docker.sock:/var/run/docker.sock:ro \
  ghcr.io/nextcloud-releases/all-in-one:latest

Then open port 8080 in your browser and the setup guides you through the rest. Point your domain at the Raspberry Pi's public IP address first.

How much fits

A Raspberry Pi 5 with 8 GB of RAM handles a family or a small team. Space is the limit: a 32 GB microSD card plus the NFS backup disk of up to 16 GB. For calendars, contacts and documents that's plenty. If you want to keep years of photos and video, a VPS with a bigger NVMe disk is a better fit.