Nextcloud logo

Deploy Nextcloud

Your own cloud for files, calendars and contacts

StorageWorkCollaborationNextcloud + Worker + PostgreSQL + Valkey + Email

Deploy Nextcloud with managed Postgres, Valkey for file locking, a data volume, background jobs and email that sends, on a public HTTPS URL. It installs itself before it goes live, so there is no setup page for someone else to claim. Sign in as admin and start uploading.

What you get with Nextcloud

  • Files from anywhereUpload, organise and preview files and photos in the browser, or sync them with the Nextcloud desktop and phone apps over WebDAV.
  • Share with a linkShare a file or folder with people on your instance, or create a public link with an optional password and expiry date for anyone else.
  • Calendar and ContactsCalendar and Contacts are installed on the first start and sync with phones and desktop apps over CalDAV and CardDAV.
  • No open setup pageNextcloud installs itself with an admin password generated at deploy before the web server starts. Nobody else can claim your instance.
  • Locking and jobs set upValkey handles file locking and caching, and a worker runs Nextcloud’s background jobs every five minutes, as upstream recommends.
  • Email that sendsPassword resets and share notifications go out through the platform Email add-on. There is no mail server to configure.

After you deploy Nextcloud

  1. 1Open the public URLThe hostname is on the app page after deploy. The first start installs Nextcloud with Calendar and Contacts before the web server starts, which takes about three minutes.
  2. 2Sign in as adminCopy NEXTCLOUD_ADMIN_PASSWORD from the app’s Variables in the dashboard and sign in as admin. Change the password under Personal settings, Security.
  3. 3Add people and filesCreate accounts under Accounts, then upload files or connect the desktop and phone apps with your URL.

How Nextcloud is wired

Nextcloud, Postgres, Valkey and the Email add-on ship together. The web service serves Nextcloud over HTTPS and a worker runs its background jobs. Both share the data volume.

Files are on the volume
Nextcloud’s config, its added apps and every uploaded file live on a 10 GB volume, so they stay after a restart or redeploy. The code itself comes from the image.
Postgres holds the metadata
Accounts, shares, calendars, contacts and the file index live in the attached Postgres database, with passwords generated at deploy.
Valkey locks and caches
File locking, the distributed cache and browser sessions use the attached Valkey, so parallel uploads and syncs don’t clash.
Background jobs in a worker
A worker runs cron.php every five minutes for cleanup, notifications and previews, and Nextcloud is set to cron mode on install.

Why run Nextcloud on StackBlaze

  • Scale your appChange CPU, RAM, and replicas without a rebuild, or let autoscaling add replicas when CPU climbs.
  • Git-based CI/CDPush to GitHub and it builds and ships. Pull requests get their own preview URL on Pro and Business.
  • One-click rollbackA deploy went wrong? Go back to any previous successful deploy.
  • Environments built inProduction, staging, and dev as separate environments in one project, each with its own URL.
  • Built-in observabilityCPU, memory, and response time per app, live logs with search, and alerts to Slack, Discord, or a webhook.
  • Developer-first toolsA CLI and Stack MCP: deploy, read logs, and wire services from your terminal or your AI assistant.
  • Built for teamsInvite teammates with roles. An audit log records who changed what.
  • Managed Postgres with HAPostgres is run for you. Turn on high availability for a three-node cluster when the app needs it.

Common questions about Nextcloud

How do I sign in after deploy?

Open the public URL and sign in as admin with the password generated at deploy, shown as NEXTCLOUD_ADMIN_PASSWORD in the app’s Variables in the dashboard. Nextcloud is installed before the web server starts, so there is no setup page.

Why is the app store switched off?

Apps from the store run as PHP code on your server, so the template turns the store off. Admins can still enable or disable the apps that ship with Nextcloud, and Calendar and Contacts are installed for you and updated on each redeploy.

Can I sync with the desktop and phone apps?

Yes. Install the Nextcloud desktop or phone app, enter your public URL and sign in. Calendars and contacts sync with any CalDAV and CardDAV client.

How big can uploads be?

The web app and the sync clients upload large files in chunks, so files bigger than a single request go through. The volume starts at 10 GB.

Can I use my own domain?

Yes. Attach a custom domain in the dashboard, add it to TRUSTED_DOMAINS under Variables and redeploy, so Nextcloud answers on it. Custom domains

How do updates work?

Nextcloud updates by moving to a newer image, not with the built in updater. On the next start the template upgrades the files on the volume and the database, one major version at a time.

What does it cost?

You pay for the compute, storage and bandwidth Nextcloud, Postgres and Valkey use, and for the emails it sends, not per user or per seat. Pricing