Templates

Official · CMS · 2 db · 1 docker

directus

directus

A backend your whole team can use.

preflight

services03
binds02
listen01
you set05

topology

How this stack is wired

Each card is a service this deploy creates. A line means one service reads another through env.

binds

Paths this deploy mounts

Host path on the node, then the path inside the container.

  • directus

    /var/lib/dokku/data/storage/directus/uploads

    /directus/uploads

  • directus

    /var/lib/dokku/data/storage/directus/extensions

    /directus/extensions

listen

Ports the stack publishes

Service on the left. Host port, then the container port and scheme.

  • directus808055/http

you set

Values this template leaves for you

Literals and placeholders. Wiring to another service lives on the topology, not here.

  • DB_CLIENT

    directus

    pg

  • CACHE_ENABLED

    directus

    true

  • CACHE_AUTO_PURGE

    directus

    true

  • CACHE_STORE

    directus

    redis

  • DFLOW_USER_ID

    directus

    1000

notes

Context for this stack

Written with the template. Topology, binds, and values you set live in the sections above.

Directus is an open-source headless CMS and backend platform that lets you manage content, databases, users, and APIs through an intuitive admin dashboard. It automatically provides REST and GraphQL APIs for your data.

About Hosting Directus

This dFlow template deploys Directus with PostgreSQL for persistent data storage and Redis for caching and improved performance.

Common Use Cases

  • Build a headless CMS for websites and applications
  • Create REST and GraphQL APIs
  • Manage content, users, roles, and permissions
  • Build custom backend and database-driven applications
  • Manage media and file uploads

Dependencies

  • Directus
  • PostgreSQL
  • Redis

Why Deploy on dFlow?

Deploy Directus in minutes with automatic HTTPS, persistent storage, custom domains, environment variable management, and centralized application management—all from a single dashboard.