Self-Hosted Corporate Cloud


Client

Mid-sized business with strict data privacy and data residency requirements


Challenge

The company relied on third-party cloud services to store and share work files, creating data leakage risks and dependency on external providers. They needed a self-hosted solution with in-browser document editing, deleted file recovery, revision history, and additional collaboration tools β€” calendar, notes, and email β€” all under their own control.


Solution

1. Nextcloud AIO Deployment
  • Nextcloud All-in-One β€” official Docker image with the full stack out of the box
  • PostgreSQL for application data storage
  • Redis for caching and background job queues
  • Nginx as a reverse proxy with automatic SSL/TLS
2. In-Browser Document Editing
  • Nextcloud Office (Collabora Online) β€” built-in office suite
  • Support for .docx, .xlsx, .pptx and ODF formats
  • Real-time collaborative editing
  • No local software installation required
3. File Management
  • Deleted files trash bin with configurable retention period
  • File version history β€” roll back to any previous revision
  • Granular access control: folders, share links, passwords
  • Mobile and desktop sync clients
4. Collaboration Tools
  • Calendar (CalDAV) β€” team scheduling and events
  • Notes β€” personal and team notes with Markdown support
  • Mail β€” built-in web client for corporate email (IMAP/SMTP)
5. Backup
  • Borg Backup β€” incremental backup built into Nextcloud AIO
  • Data deduplication and compression
  • Scheduled automatic runs
  • Remote storage for backups (S3-compatible / SFTP)

Technologies

Nextcloud
Nextcloud
Docker
Docker
PostgreSQL
PostgreSQL
Nginx
Nginx
Linux
Linux

Results

βœ… Data ownership: files stay on company servers, no third-party providers
βœ… In-browser editing: office documents open and edit directly in the browser
βœ… Safety net: version history and trash bin protect against accidental data loss
βœ… Unified platform: single solution for files, calendar, notes, and email
βœ… Automated backups: incremental backup via Borg Backup on a set schedule


Architecture

graph TB A[Users] --> B[Nginx :443] B --> C[Nextcloud AIO :11000] C --> D[PostgreSQL] C --> E[Redis] C --> F[Collabora Online] C --> G[Borg Backup] G --> H[Remote Storage]

Duration

1 day (installation + configuration + testing)


Cost

from $180