Skip to content
Forkshelf
Menu

Self-host Nextcloud

License
AGPL-3.0
GitHub stars
37,439, as of 8 Nov 2026
Latest release
v33.0.10, as of 8 Nov 2026
Host needs
128MB RAM per process
Install method
Linux install; Docker via All-in-One
One-click template
Available
  • License: AGPL-3.0.
  • Last commit: 8 Nov 2026 08:34 SGT, as of 8 Nov 2026. The repository is not archived.

Requirements

The system requirements page says:

  • "A 64-bit CPU, OS and PHP is strongly recommended for Nextcloud."
  • "Nextcloud needs a minimum of 128MB RAM per process, and we recommend a minimum of 512MB RAM per process."
  • Database options include "PostgreSQL 14 / 15 / 16 / 17 / 18 (recommended)"
  • They also include "MariaDB 10.11 / 11.4 / 11.8 / 12.3 (recommended)"
  • "PHP Runtime 8.3 8.4 8.5 ( recommended )"

CPU count and disk: not stated.

Docker or Docker Compose

The admin manual covers installation and server configuration.
It includes Installation on Linux, the installation wizard and a command line install.
For Docker, the official repo is Nextcloud All-in-One.

Hosting options

A Railway template for Nextcloud is at railway.com/deploy/nextcloud, created by decoge.
It shows "Total Projects 113".
The Railway Free plan allows "0.5 GB RAM per service".
At the recommended 512MB per process, more than one process goes above that limit.

Affiliate disclosure: Forkshelf earns a commission if you sign up for Railway through the links marked "Paid link" on this page. This does not change the order or content of any guide here.

To get started, create a Railway account (Paid link).

Backups and updates

Backups for an archive install: the official guide is Backup.
Updates for an archive install: the official guide is How to upgrade.
Backups for All-in-One (Docker): the official guide is the All-in-One README.
Updates for All-in-One (Docker): the official guide is the All-in-One README.

Alternatives

Nextcloud is listed on open-source alternatives to Dropbox.