Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
Self-hosted file sync, sharing, calendar, and collaboration suite — the most complete Dropbox/Drive replacement.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (210 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 install tested), Raspberry Pi 5 (8 GB) (arm64 install tested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Pick Nextcloud when you want one server that replaces Dropbox, Google Calendar, Contacts, and Office behind a single login — and you'll give it 4 GB of RAM, a real database, and the occasional afternoon of upkeep. If you only need files synced, ownCloud or Syncthing is less to run.
Follow the Nextcloud deploy guide →Paid link — we earn a commission if you shop through it.
Save this as compose.yml and run docker compose up -d:
# Nextcloud + MariaDB
services:
db:
image: mariadb:11
environment: { MARIADB_ROOT_PASSWORD: changeme, MARIADB_DATABASE: nextcloud }
app:
image: nextcloud:apache
ports: ["8080:80"]
depends_on: [db]
# docker compose up -d → http://SERVER_IP:8080The project's own nextcloud:apache image — you supply the database, Redis, and a reverse proxy. Maximum control, the most pieces to wire up.
# official: nextcloud:apache + MariaDB
services:
db:
image: mariadb:11
environment: { MARIADB_ROOT_PASSWORD: changeme, MARIADB_DATABASE: nextcloud }
app:
image: nextcloud:apache
ports: ["8080:80"]
depends_on: [db]The homelab favourite lscr.io/linuxserver/nextcloud — PUID/PGID, sane defaults, smaller footprint. Third-party, so it tracks upstream on its own cadence.
# community: linuxserver.io image
services:
nextcloud:
image: lscr.io/linuxserver/nextcloud:latest
environment: { PUID: 1000, PGID: 1000, TZ: Etc/UTC }
volumes: ["./config:/config", "./data:/data"]
ports: ["8443:443"]Running Nextcloud yourself means owning the three things a SaaS quietly handles for you:
The PHP collaboration platform vs. the Go file server with no database.
All-in-one platform vs. lean file sync.
The all-in-one platform vs. the focused sync engine.
Peer-to-peer file sync vs. the all-in-one file platform.
The Nextcloud install snippet is marked verified on Ubuntu 26.04 (Nov 2026).
Nextcloud's manual asks for at least 128 MB per PHP process and recommends 512 MB; our catalog floor is 1 GB for a small instance. Give it more if you turn on resource-heavy apps like full-text search or the built-in office suite for several concurrent users.
Yes — the standard setup pairs the official nextcloud:apache image with a MariaDB container in a docker-compose.yml. Running docker compose up -d brings it up on port 8080.
Nextcloud covers Dropbox's core file sync and sharing and adds built-in calendar, contacts, and document editing, all under the AGPL-3.0 license on a server you control.
It's a mid-difficulty stack (PHP plus a database that needs periodic updates and backups), but the official Docker image keeps day-to-day operation to pulling new image tags and running compose up.