Nextcloud All-in-One is the official deployment method for Nextcloud. It provides a single Docker container that manages all Nextcloud components including the database, Redis, collabora, and more.
- All-in-One Deployment — Single container manages everything
- Auto Updates — Automatic updates for all components
- Built-in Backup — Borg-based backup solution
- Office Integration — Collabora Online included
- Full-Text Search — Elasticsearch integration
- Easy Management — Web-based admin interface
- Docker and Docker Compose
- External Docker network (
nextcloud-aio) - Reverse proxy (Caddy, Nginx, Traefik)
- Domain name pointing to your server
docker network create nextcloud-aiosudo mkdir -p /mnt/nextcloud-data
sudo chown 33:33 /mnt/nextcloud-dataEdit docker-compose.yml:
- Update
NEXTCLOUD_DATADIRif needed - Adjust
NEXTCLOUD_UPLOAD_LIMITfor your needs - Modify backup settings (
BORG_RETENTION_POLICY)
docker compose up -d- Access the AIO interface at
https://your-server:8080 - Copy the initial password from the logs:
docker logs nextcloud-aio-mastercontainer
- Follow the setup wizard
- Configure your domain and start the containers
| Variable | Description | Default |
|---|---|---|
APACHE_PORT |
Internal Apache port | 11000 |
APACHE_IP_BINDING |
IP to bind Apache | 127.0.0.1 |
NEXTCLOUD_DATADIR |
Data directory path | /mnt/nextcloud-data |
NEXTCLOUD_UPLOAD_LIMIT |
Max upload size | 40G |
NEXTCLOUD_MAX_TIME |
Max execution time | 7600 |
NEXTCLOUD_MEMORY_LIMIT |
PHP memory limit | 2048M |
BORG_RETENTION_POLICY |
Backup retention | --keep-within=7d... |
nextcloud.example.com {
reverse_proxy http://localhost:11000
}
Important: Your reverse proxy must pass the correct headers. See the official documentation.
| Port | Service | Description |
|---|---|---|
| 8080 | HTTPS | AIO management interface |
| 11000 | HTTP | Nextcloud (after setup) |
| Path | Description |
|---|---|
nextcloud_aio_mastercontainer |
AIO configuration volume |
/mnt/nextcloud-data |
User files and data |
Nextcloud AIO includes built-in Borg backup. Configure in the AIO interface:
- Set backup location
- Configure schedule
- Set retention policy
To restore, use the AIO interface's restore function.
To enable hardware transcoding for Memories/Preview generation, uncomment:
NEXTCLOUD_ENABLE_DRI_DEVICE: trueNextcloud is released under the AGPL-3.0 License.