📦nextcloud / all-in-one
← 返回首页
📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.
⚖️ AGPL-3.0#nextcloud#backup#docker#restore🌐 nextcloud.com📅 创建于 2021-11-30🔄 更新于 2026-10-31

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

Nextcloud All-in-One

[!NOTE] Nextcloud AIO is actively looking for contributors. See the forum post.

The official Nextcloud installation method. Nextcloud AIO provides easy deployment and maintenance with most features included in this one Nextcloud instance.

Included are: - Nextcloud - High performance backend for Nextcloud Files (Client Push) - Redis & APCU for performant caching - PostgreSQL as database - Nextcloud Office (optional) - EuroOffice (optional) - High performance backend for Nextcloud Talk and TURN-server (optional) - Nextcloud Talk Recording-server (optional) - Backup solution (optional, based on BorgBackup) - Imaginary (optional, for previews of heic, heif, illustrator, pdf, svg, tiff and webp) - ClamAV (optional, Antivirus backend for Nextcloud) - Fulltextsearch (optional) - Whiteboard (optional) - Docker Socket Proxy (optional, needed for Nextcloud App API) - Community containers

And much more: - Simple web interface included that enables easy installation and maintenance - [Easy updates included](https://github.com/nextcloud/all-in-one#how-to-update-the-containers) - Update and backup notifications included - Daily backups can be enabled from the AIO interface which also allows updating all containers, Nextcloud and its apps afterwards automatically - Instance restore from backup archive via the AIO interface included (you only need the archive and the password in order to restore the whole instance on a new AIO instance) - APCu as local cache - Redis as distributed cache and for file locking - Postgresql as database - PHP-FPM with performance-optimized config (e.g. Opcache enabled by default) - A+ security in Nextcloud security scan - Ready to be used behind existing [Reverse proxies](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) - Can be used behind [Cloudflare Tunnel](https://github.com/nextcloud/all-in-one#how-to-run-nextcloud-behind-a-cloudflare-tunnel) - Can be used via [Tailscale](https://github.com/nextcloud/all-in-one/discussions/6817) - Ready for big file uploads up to 10 GB on public links, [adjustable](https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud) (logged in users can upload much bigger files using the webinterface or the mobile/desktop clients since chunking is used in that case) - PHP and web server timeouts set to 3600s, [adjustable](https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud) (important for big file uploads) - Defaults to a max of 512 MB RAM per PHP process, [adjustable](https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud) - Automatic TLS included (by using Let's Encrypt) - zstd/gzip compression enabled by default inside caddy inside the apache container - HTTP/2 and HTTP/3 enabled - "Pretty URLs" for Nextcloud are enabled by default (removes the index.php from all links) - Video previews work out of the box and when Imaginary is enabled, many recent image formats as well! - Only one domain and not multiple domains are required for everything to work (usually you would need to have one domain for each service which is much more complex) - [Adjustable location](https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir) of Nextcloud's datadir (e.g. good for easy file-sharing with host system on Windows and MacOS) - By default confined (good for security) but can [allow access to additional storages](https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host) in order to enable the usage of the local external storage feature - Possibility included to [adjust default installed Nextcloud apps](https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup) - Nextcloud installation is not read only - that means you can apply patches if you should need them (instead of having to wait for the next release for them getting applied) - `ffmpeg`, `smbclient` and `nodejs` are included by default - Possibility included to [permanently add additional OS packages into the Nextcloud container](https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup) without having to build your own Docker image - Possibility included to [permanently add additional PHP extensions into the Nextcloud container](https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container) without having to build your own Docker image - Possibility included to [pass the needed device for hardware transcoding](https://github.com/nextcloud/all-in-one#how-to-enable-hardware-acceleration-for-nextcloud) to the Nextcloud container - Possibility included to [store all docker related files on a separate drive](https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive) - [LDAP can be used as user backend for Nextcloud](https://github.com/nextcloud/all-in-one/tree/main#ldap) - Migration from any former Nextcloud installation to AIO is possible. See [this documentation](https://github.com/nextcloud/all-in-one/blob/main/migration.md). - Migration in the other direction (e.g. from AIO to a VM-based installation) is also possible. - [Fail2Ban can be added](https://github.com/nextcloud/all-in-one#fail2ban) - [phpMyAdmin, Adminer or pgAdmin can be added](https://github.com/nextcloud/all-in-one#phpmyadmin-adminer-or-pgadmin) - [Mail server can be added](https://github.com/nextcloud/all-in-one#mail-server) - Nextcloud can be [accessed locally via the domain](https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally) - Can [be installed locally](https://github.com/nextcloud/all-in-one/blob/main/local-instance.md) (if you don't want or cannot make the instance publicly reachable) - Free [deSEC](https://desec.io) dynamic-DNS domain (`*.dedyn.io`) can be registered directly from the AIO interface — no external domain needed - [IPv6-ready](https://github.com/nextcloud/all-in-one/blob/main/docker-ipv6-support.md) - Can be used with [Docker rootless](https://github.com/nextcloud/all-in-one/blob/main/docker-rootless.md) (good for additional security) - Runs on all platforms Docker supports (e.g. also on Windows and Macos) - Included containers easy to debug by having the possibility to check their logs directly from the AIO interface - [Docker-compose ready](https://github.com/nextcloud/all-in-one/blob/HEAD/./compose.yaml) - Can be installed [without a container having access to the docker socket](https://github.com/nextcloud/all-in-one/tree/main/manual-install) - Can be installed with [Docker Swarm](https://github.com/nextcloud/all-in-one#can-i-run-this-with-docker-swarm) - Can be installed with [Kubernetes](https://github.com/nextcloud/all-in-one/tree/main/nextcloud-aio-helm-chart) - Almost all included containers Alpine Linux based (good for security and size) - Many of the included containers run as non-root user (good for security) - Many of the included containers have a read-only root-FS (good for security) - Included containers run in its own docker network (good for security) and only really necessary ports are exposed on the host - [Multiple instances on one server](https://github.com/nextcloud/all-in-one/blob/main/multiple-instances.md) are doable without having to deal with VMs - Adjustable backup path or remote borg repository from the AIO interface (good to put the backups e.g. on a different drive if using a local backup path) - Possibility included to also back up external Docker Volumes or Host paths (can be used for host backups) - Borg backup can be completely managed from the AIO interface, including backup creation, backup restore, backup integrity check and integrity-repair - Other forms of [remote backup](https://github.com/nextcloud/all-in-one#are-remote-borg-backups-supported) are indirectly possible - Updates and backups can be [run from an external script](https://github.com/nextcloud/all-in-one#how-to-stopstartupdate-containers-or-trigger-the-daily-backup-from-a-script-externally). See [this documentation](https://github.com/nextcloud/all-in-one#how-to-enable-automatic-updates-without-creating-a-backup-beforehand) for a complete example.

Screenshots

First setup After installation
image image

Architecture overview

```mermaid flowchart TB %% ── Styles ─────────────────────────────────────────────────────────────────── classDef user fill:#FFF3CD,stroke:#F0AD4E,color:#333 classDef master fill:#E8D5F5,stroke:#9B59B6,color:#222 classDef core fill:#D6EAF8,stroke:#2E86C1,color:#222 classDef opt fill:#D5F5E3,stroke:#27AE60,color:#222 classDef community fill:#FDEBD0,stroke:#E67E22,color:#222 classDef access fill:#EAFAF1,stroke:#1E8449,color:#222

%% ── Top row: people ─────────────────────────────────────────────────────────
YOU(["🧑‍💻 Admin\n(You)"]):::user
ENDUSER(["🧑‍🤝‍🧑 Users\n(family / team)"]):::user

%% ── Everything that runs inside AIO ─────────────────────────────────────────
subgraph AIO["  🐳  Nextcloud AIO  "]
    MC(["🧠 Mastercontainer\n─────────────────────────\n▸ AIO interface :8080 / :8443\n▸ Manages & updates containers\n▸ Handles backups"]):::master

    subgraph CORE["  📦  Core Stack  (auto-started)  "]
        PROXY(["🔀 Apache\nProxy & HTTPS"]):::core
        NC(["☁️ Nextcloud\nApp Server"]):::core
        DB(["🗄️ PostgreSQL\nDatabase"]):::core
        CACHE(["⚡ Redis\nCache"]):::core
        PUSH(["🔔 Notify Push\nReal-time sync"]):::core
    end

    subgraph OPT["  🧩  Optional Built-in Containers  (enable in AIO interface)  "]
        COLLA(["📄 Nextcloud Office"]):::opt
        EO(["📄 EuroOffice\nDocument Server"]):::opt
        TALK(["🎙️ Talk\nVideo & Voice calls"]):::opt
        TALKREC(["🎬 Talk Recording"]):::opt
        FTS(["🔎 Full-text Search\n(Elasticsearch)"]):::opt
        IMAG(["🖼️ Imaginary\nImage previews"]):::opt
        CLAM(["🦠 ClamAV\nAntivirus"]):::opt
        WB(["🖊️ Whiteboard"]):::opt
    end

    COMM(["🌍 Community Containers\n──────────────────────\n30+ optional add-ons\nSee community-containers/"]):::community
    click COMM "https://github.com/nextcloud/all-in-one/tree/main/commun

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR