New: the Homelab Planning Bundle. Both planners together for $19.99 instead of $27.98Save $7.99GET THE BUNDLE

Homelab Addiction

Self-Hosted / Projects / Nextcloud

Nextcloud official symbol icon

Nextcloud

Stable
nextcloud/server37.1k5.3k17h agoFile Sharing & Sync
DocsWebsiteSourceDemo

Specs verified August 23, 2026 · against v34.0.3

Overview

Self-hosted private cloud for file sync, sharing, Office, Talk, and collaboration.

Nextcloud is a self-hosted Google Drive alternative that combines private cloud storage, file sync, secure sharing, and team collaboration tools on infrastructure you control.

Homelab users usually choose it when they want one stack to cover files, browser access, shared links, calendars, contacts, office editing, and chat instead of stitching together several narrower tools.

Why people choose Nextcloud

The official product pages position Nextcloud Hub as a broader collaboration platform rather than only a sync client. That matters because the real decision is often between running one heavier private-cloud stack or combining lighter specialist tools such as Seafile, Syncthing, and separate chat or office services.

For search intent, the strongest framing is not just what Nextcloud is, but what job it replaces: Google Drive, Dropbox, and parts of Microsoft 365 for teams that want file control, privacy, and self-hosted workflows.

What you get in the stack

Nextcloud Hub groups Files, Talk, Groupware, Office, Assistant, and Flow under one umbrella. Files handles sync and sharing; Talk adds chat and video calls; Groupware covers calendar, contacts, and mail workflows; Office adds browser-based collaborative document editing; and Flow expands automation.

That breadth is the main reason Nextcloud remains an anchor self-hosted cloud platform instead of just another file sync server.

What to know before you deploy

Nextcloud can run small, but the official administration manual still treats performance, caching, and database choices as real operational topics. The docs recommend 64-bit platforms and describe APCu for local cache plus Redis or a compatible backend when you need distributed caching or transactional file locking.

The practical tradeoff is weight. Nextcloud earns its footprint when you actually need collaboration features. If you only want fast file sync, lighter alternatives can be easier to run and tune.

Office editing, chat, AI features, and broader integrations are not all equal in every deployment. Some capabilities depend on extra apps, external services, or more careful sizing than a simple personal file share.

Best fit

Choose Nextcloud when you want a private cloud with shared files, browser access, collaboration, and room to grow into a broader team workspace.

Look harder at Seafile or Syncthing when speed, simplicity, or peer-to-peer sync matters more than all-in-one collaboration breadth.

Quick deploy

Paste into docker-compose.yml and run docker compose up -d
docker-compose.yml
1services:
2 db:
3 image: postgres:16
4 restart: unless-stopped
5 environment:
6 POSTGRES_DB: nextcloud
7 POSTGRES_USER: nextcloud
8 POSTGRES_PASSWORD: change-me
9 volumes:
10 - db:/var/lib/postgresql/data
11
12 redis:
13 image: redis:7-alpine
14 restart: unless-stopped
15
16 nextcloud:
17 image: nextcloud:latest
18 restart: unless-stopped
19 ports:
20 - '8080:80'
21 environment:
22 POSTGRES_HOST: db
23 POSTGRES_DB: nextcloud
24 POSTGRES_USER: nextcloud
25 POSTGRES_PASSWORD: change-me
26 REDIS_HOST: redis
27 depends_on:
28 - db
29 - redis
30 volumes:
31 - nextcloud:/var/www/html
32
33volumes:
34 db:
35 nextcloud:

Configuration

Environment variables

VariableWhat it doesExample
POSTGRES_PASSWORDrequiredDatabase password for the Nextcloud app user.change-me
NEXTCLOUD_TRUSTED_DOMAINSPublic domain names allowed to access the instance.cloud.example.com
TZContainer timezone.UTC

Ports

  • 8080/tcp — Web interface

Volumes to back up

  • /var/www/html — Nextcloud application data, configuration, apps, and persistent storage.
  • /var/lib/postgresql/data — PostgreSQL database storage.

Interface previews

Official Nextcloud Files product screenshot
Official Nextcloud web interface screenshot from docs

Screenshots of the Nextcloud interface.

Feature support

Feature support in Nextcloud
FeatureSupport
File sync across desktop, mobile, and webOfficial clients and browser access are part of the core platform.Supported
Private cloud file sharingSupports internal sharing, public links, and access controls.Supported
Collaborative document editingAvailable through Nextcloud Office and related integrations rather than the bare file server alone.Partial support
Calendar, contacts, and mail workflowsCovered through the Groupware stack for people replacing more than simple file storage.Supported
Team chat and video callsProvided through Nextcloud Talk; quality and scale depend on deployment design and resources.Partial support
Workflow automationNextcloud Flow expands automation, but useful workflows depend on enabled apps and integrations.Partial support
Photo and mobile upload workflowsMobile apps and file features support camera uploads and media browsing use cases.Supported
External storage integrationPossible through supported storage backends and configuration, but not every setup is equally simple.Partial support
Redis or compatible locking/cache supportThe admin docs describe Redis or compatible key-value backends for distributed cache and transactional locking.Supported

Community signals

Stars
37.1k
Forks
5.3k
Open issues
3.8k

Includes open pull requests

Last commit
17h ago
Latest release
v35.0.1

2w ago

Repo created
Jun 2016

Refreshed nightly from the GitHub API.

Alternatives

  • Seafile

    Often preferred when pure file sync speed matters more than all-in-one collaboration.

  • Syncthing

    Strong option for peer-to-peer file sync without the full collaboration suite.

  • Google Drive

    Managed cloud alternative for teams that prefer less infrastructure ownership.

Questions

What is Nextcloud used for?

Nextcloud is used for private cloud storage, file syncing, secure sharing, browser-based access, calendars, contacts, office collaboration, chat, and related team workflows.

Is Nextcloud a self-hosted alternative to Google Drive?

Yes. Nextcloud is commonly used as a self-hosted alternative to Google Drive or Dropbox, especially when teams want to control storage, sharing, and compliance on their own infrastructure.

How much RAM does Nextcloud need for self-hosting?

The official docs say Nextcloud needs at least 128 MB RAM per process and recommend at least 512 MB per process, but practical deployments with databases, caching, and multiple apps are usually more comfortable with several gigabytes of system memory.

Does Nextcloud need Redis and PostgreSQL?

Not for every tiny install, but production-style deployments benefit from a proper database and cache design. The docs describe PostgreSQL as a recommended database option and Redis or compatible backends for transactional locking and distributed caching.

Is Nextcloud free and open source?

Yes. The server is open source under the AGPL and can be self-hosted without using the managed service ecosystem around it.

Is Nextcloud better than Seafile?

That depends on the job. Nextcloud is broader and better when you want an all-in-one collaboration platform. Seafile is often lighter and more focused when the main need is file sync and sharing performance.

Can Nextcloud handle photo backup and office editing?

Yes, but with nuance. Mobile uploads and media workflows are supported, and browser-based editing is available through Nextcloud Office and related integrations rather than from the core file app alone.

support // the lab

Found this write-up useful?

If it saved you time or a rebuild, you can support more practical homelab guides.

Support the lab