Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

Directus

Instant headless CMS and REST/GraphQL API over Postgres, with a data studio your editors will actually like.

2 GiB

2 services, 10 GB disk

$10/mo

flat resource

$0.025/h

Usage Billing

What is Directus?

Directus takes a refreshingly honest approach to headless CMS: it introspects a plain Postgres database and instantly serves REST and GraphQL APIs plus a polished admin studio over it. Your schema stays normal SQL - no proprietary content model lock-in, and anything else (BI tools, scripts, this catalogue’s Metabase) can query the same tables.

This template runs Directus 11 on a managed Postgres with an uploads volume. Three variables bootstrap it: a SECRET, and the first admin’s email and password. Set PUBLIC_URL after first deploy and the studio, auth flows, and asset URLs all line up.

The license story is unusual: self-hosting Directus is free at any scale (BSL source-available); what costs money is their cloud hosting. This stack does that part on your own compute.

What you get

  • Instant REST + GraphQL APIs over your Postgres schema
  • Data studio: content editing, roles/permissions, flows (automation)
  • No proprietary content model - it is just your database
  • File library on a persistent uploads volume
  • Managed Postgres auto-provisioned and auto-wired
  • Opt-in realtime websockets upstream

How it runs on Lyngbak

ServiceRolePublic
directusstudio + REST/GraphQL API (:5000)yes
dbPostgres - managed service on Lyngbak, container locallyno

Before you deploy

  • SECRET

    session/crypto secret (openssl rand -hex 32) - explicit, or sessions break on restart

  • ADMIN_EMAIL / ADMIN_PASSWORD

    bootstrap admin, applied on first init only

  • PUBLIC_URL

    set to the app’s https domain after first deploy

Sizing and billing

1 GiB suits typical headless-CMS traffic; content APIs are read-heavy and cache well. The uploads volume is the growth dial for media-heavy projects.

Hobby resource$10/mo1 vCPU, 1 GiB + 1 GiB RAM add-on, 10 GiB disk, shared CPU
Pro resource$25/mo1 vCPU, 2 GiB, 10 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.025/h1 vCPU, 2 GiB reserved. $18/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.094/h2 vCPU, 4 GiB reserved. $68/mo for a full month, billed by the second.

A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.88 GiB of volumes cost $0.15 per GiB a month ($1.48/mo) for as long as they exist. One workspace can use both. See pricing

Compared with the managed service

ServicePlanPriceIncludes
Directus Cloudhosting add-on$99/mocheapest cloud hosting (3 seats, 25 collections); the license itself is free either way

Prices from each vendor's pricing page, June 2026.

Run it locally first

The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.

Questions

Directus or Strapi?

Directus if you want the database to stay a normal Postgres schema you own (it introspects; nothing is locked into the CMS), Strapi if you prefer code-first content-type definitions in a Node project. Operationally Directus is the lighter, single-container deploy - which is why it is the one in this catalogue first.

What does the BSL license mean for me?

Self-hosting for your own projects and clients is free at any scale. The Business Source License mainly restricts offering Directus itself as a competing hosted service. For the standard agency/product use case, nothing changes versus open source.

How does self-hosting compare to Directus Cloud?

Directus Cloud’s cheapest hosting add-on is a monthly fee capped at 3 seats and 25 collections. Self-hosted has no seat or collection limits - the software is identical, you are only replacing their hosting line item.

Can other tools query the same database?

Yes - that is the design. The schema is plain Postgres, so Metabase dashboards, ETL jobs, or any in-project app can read the same tables Directus manages, by service name, without going through the API.

More in CMS & Publishing

Bagisto

Laravel ecommerce you extend in PHP - catalog, checkout, multi-channel - on a self-hosted MySQL.

Open the template →

Ghost

Professional publishing - blog, newsletter, paid memberships - keeping 100% of your subscription revenue.

Open the template →

PrestaShop

The European storefront standard - full shop with checkout and back office, auto-installed on a self-hosted MySQL, 0% of your GMV.

Open the template →
Directus 11: headless CMS with Docker Compose | Lyngbak (formerly Miget)