Nextcloud
A self-hosted file sync and share platform, replacing Google Drive and Dropbox with extensive plugin support.
Hardware compatibility
Unknown — resource or architecture evidence is missing. Check upstream docs.
- Available CPU cores
- Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
- Available RAM (GiB)
- Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
- Available disk (GiB)
- Recorded minimum: Unknown (not recorded); Recorded recommended: Unknown (not recorded)
- Architecture
- Unknown (not recorded)
Upstream evidence: Nextcloud 35 stable manual: 128MB minimum / 512MB recommended RAM per process; updater needs 256MB. These are NOT total host or Compose stack requirements, so host RAM thresholds remain unknown. Users, apps and activity change sizing; database memory is additional. 64-bit CPU/OS/PHP is recommended, not an amd64/arm64 image support declaration; CPU, disk and image architectures remain unknown. Checked: 2026-10-07
Review notes
The manual specifies 128 MB minimum and 512 MB recommended RAM per process, not for the entire host. Size the database, users, apps and sync activity separately. Configure cron and Redis where appropriate, then measure your workload before choosing host capacity.
Deployment guide
Run with Docker Compose using PostgreSQL and Redis. Domain and trusted_domains must be configured correctly.
- Create data and config directories for Nextcloud.
- Run Docker Compose with Nextcloud, PostgreSQL, and Redis.
- Access the web UI, create an admin account, and configure trusted_domains.
- Set up cron jobs (system cron or webcron) for background tasks.
- Put HTTPS reverse proxy in front and configure overwrite.cli.url.
No hosted installer
The examples below are unverified, not installers. Consult official documentation and replace secrets before use.
Official documentationUnverified deployment examples
Do not run unchanged. Replace all placeholder secrets, pin image versions, review privileged access and exposed ports, configure HTTPS and backups. These snippets may be incomplete or outdated; use upstream docs.
services:
nextcloud:
image: nextcloud:stable
container_name: nextcloud
volumes:
- ./html:/var/www/html
- ./data:/var/www/html/data
environment:
POSTGRES_HOST: postgres
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: CHANGEME_db_password # CHANGE THIS
REDIS_HOST: redis
ports:
- "8080:80"
depends_on:
- postgres
- redis
restart: unless-stopped
postgres:
image: postgres:16-alpine
container_name: nextcloud_postgres
environment:
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: CHANGEME_db_password # CHANGE THIS
POSTGRES_DB: nextcloud
volumes:
- ./postgres:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: nextcloud_redis
restart: unless-stopped# No executable setup script; follow current official documentation.
# Không có script cài đặt; xem tài liệu chính thức hiện hành.
# https://docs.nextcloud.com