Skip to content

Template · Storage

Nextcloud

Files, calendar and collaboration suite with Postgres and Redis.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Redisredis:7-alpine
  • Nextcloudnextcloud:31-apache
Upstream documentation

What gets deployed

3 services in the environment you pick, on the private network of the project.

About this template

nextcloud:31-apache + PostgreSQL 17 + Redis. The admin user is created from NEXTCLOUD_ADMIN_* on first start.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Redis

Image: redis:7-alpine

  • Port 6379/tcp
  • 2 GB volume at /data
  • 0.5 vCPU · 512 MB

redis-server --appendonly yes --dir /data

Nextcloud

Image: nextcloud:31-apache

  • Port 80/http
  • Public domain with TLS
  • 20 GB volume at /var/www/html
  • 2 vCPU · 2 GB
  • /status.php

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERnextcloudSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBnextcloudDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Redis

NameValue
REDIS_URLredis://${{self.SKIFFLY_PRIVATE_DOMAIN}}:6379Private network only, no auth

Nextcloud

NameValue
POSTGRES_HOST${{Postgres.SKIFFLY_PRIVATE_DOMAIN}}
POSTGRES_DB${{Postgres.POSTGRES_DB}}
POSTGRES_USER${{Postgres.POSTGRES_USER}}
POSTGRES_PASSWORD${{Postgres.POSTGRES_PASSWORD}}
REDIS_HOST${{Redis.SKIFFLY_PRIVATE_DOMAIN}}
NEXTCLOUD_ADMIN_USERadmin
NEXTCLOUD_ADMIN_PASSWORDgenerated (password)
NEXTCLOUD_TRUSTED_DOMAINS${{self.SKIFFLY_PUBLIC_DOMAIN}}
OVERWRITEPROTOCOLhttps
OVERWRITEHOST${{self.SKIFFLY_PUBLIC_DOMAIN}}
TRUSTED_PROXIES10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/nextcloud)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/nextcloud)
HTML
<a href="https://skiffly.dev/templates/nextcloud"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Nextcloud in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.