Storagedocker-ready1-click-deploy
Nextcloud: the best Open Source alternative to Google Drive in 2026
Nextcloud is the most popular open source productivity and cloud storage suite: files, calendar, contacts, collaborative editing and video calls, all under your own domain.
Technical profile
- License
- AGPL-3.0
- Category
- Storage
- Replaces
- Google Drive, Dropbox
- Tech stack
- PHPMariaDB/PostgreSQL
Preview

Public image provided by Nextcloud on its own website.
Key features
- Cross-platform file sync
- Collaborative document editing (Collabora/OnlyOffice)
- Calendar, contacts and video calls (Nextcloud Talk)
- Hundreds of official and community apps
Nextcloud vs. Google Drive
Pros
- The widest ecosystem of self-hosted productivity apps
Things to consider
- Can feel heavy on small instances running many apps
Quick Docker installation guide
Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →
docker-compose.yml
version: "3.9"
services:
nextcloud:
image: nextcloud:latest
restart: unless-stopped
ports:
- "8080:80"
environment:
- MYSQL_HOST=nextcloud-db
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=nextcloud
volumes:
- nextcloud_data:/var/www/html
depends_on:
- nextcloud-db
nextcloud-db:
image: mariadb:11
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=nextcloud
volumes:
- nextcloud_db_data:/var/lib/mysql
volumes:
nextcloud_data:
nextcloud_db_data: