esc
Type to search the docs
Back to catalog

nextcloud

Draft

Self-hosted file sync and collaboration platform

Run locally

Terminal
$ npx launchfile up nextcloud

Requires Docker Desktop. No source code needed — pulls pre-built images and starts nextcloud with all dependencies.

Image: nextcloud:latest
Launchfile View on GitHub
# yaml-language-server: $schema=https://launchfile.dev/schema/v1
version: launch/v1
name: nextcloud
description: "Self-hosted file sync and collaboration platform"

components:
  app:
    image: nextcloud:latest
    provides:
      - protocol: http
        port: 80
        exposed: true
    requires:
      - type: postgres
        set_env:
          POSTGRES_HOST: $host
          POSTGRES_DB: $name
          POSTGRES_USER: $user
          POSTGRES_PASSWORD: $password
      - type: redis
        set_env:
          REDIS_HOST: $host
          REDIS_HOST_PORT: $port
    storage:
      html:
        path: /var/www/html
        persistent: true
    health: /status.php
    restart: always

  cron:
    image: nextcloud:latest
    schedule: "*/5 * * * *"
    commands:
      start: "cron.sh"
    depends_on:
      - "app"
    restart: "no"

Required Services

postgresredis

Components

2 components in this Launchfile.

appcron

Learn More

Spec references for features used in this Launchfile.

Related Apps