Directus on Railway

A headless CMS and data platform that turns a SQL database into REST and GraphQL APIs, on Railway.

Official site · License: Monospace Sustainable Core License 1.0 (source-available) · 20 Railway templates

Deploy Directus on RailwayCompare templates

Directus turns a SQL database into REST and GraphQL APIs and adds a visual Studio for managing content, files, users and automations. It works with new or existing schemas, and is often compared with headless CMSs such as Strapi and Contentful.

Developers use it as the content backend for sites built with Next.js, Nuxt, Astro or SvelteKit, as an admin panel over a Postgres schema, and as an internal data tool with dashboards (Insights), automations (Flows) and an MCP server for AI agents.

Directus is source-available under the Monospace Sustainable Core License 1.0, not an OSI open-source licence. Each version becomes GPL-3.0 four years after release.

What Directus can do

  • REST and GraphQL APIs generated from your SQL schema
  • Visual Studio for content, files and users
  • Roles and permissions
  • Flows for automations and Insights dashboards
  • File storage with image transformations
  • Realtime WebSockets and an MCP server

What people use it for

  • Headless CMS for websites and mobile apps
  • Back office and admin panel over a Postgres database
  • REST and GraphQL backend with file storage
  • Internal data tools with dashboards and automations

Videos

What is Directus? · Directus
Getting Started with Directus · Directus
Stop Rebuilding Backends… Just Use Directus · Better Stack

Running Directus on Railway

The Railway template deploys Directus 12 with PostgreSQL (PostGIS), Redis and a Railway Bucket for uploaded files and extensions, pinned to a specific version. An administrator is created with a generated password during first start, before the public port opens. The template documents measured idle usage of roughly 260 MiB for Directus, 180 MiB for Postgres and 25 MiB for Redis, plus bucket storage; cost follows the CPU and memory the services use.

Directus templates on Railway

Directus 12 Headless CMS (Postgres, Redis, S3)Maintained by Tracklayer
Directus turns a SQL database into REST and GraphQL APIs with a visual Studio for content, files, users and automations. This template runs the official Directus 12.6.1 image with
1 deployments
Deploy
Directus by Medim's Projects
Directus [Nov '26] (Headless CMS/Strapi & Supabase Alternative) Self Host
3,294 deployments
Deploy
Directus by Directus
Convert any SQL database into a powerful API and CMS platform
885 deployments
Deploy
Directus CMS Template by Directus
Directus CMS with official template pre-applied and ready to use
282 deployments
Deploy
Directus (docker/websocket/extensions) + PostGIS (docker/TCP) + S3/Local by an independent creator
Directus (Docker) + PostGIS (Docker/TCP) + S3
208 deployments
Deploy
The Directus Starter Kit by an independent creator
Latest Directus with Redis, Postgis and S3 preconfigured!
179 deployments
Deploy
directus by an independent creator
A powerful CMS, BaaS, and more. Power any project with Directus
86 deployments
Deploy
Directus with Cloudinary by an independent creator
Directus starter with postgres for the db and cloudinary for assets.
75 deployments
Deploy
Directus | Open-Source Contentful & Strapi Alternative by an independent creator
Self Host Directus. Headless CMS, DAM, and automation engine
13 deployments
Deploy
Directus with S3, Postgres, Redis, and Auto Backups by an independent creator
Deploy Directus CMS with Postgres, Redis, and Auto Backups in one click!
8 deployments
Deploy
Directus + Cloudinary by an independent creator
Open-source CMS platform for building websites and internal tools.
7 deployments
Deploy
Directus by an independent creator
Headless CMS & data platform: Directus, PostGIS, Redis, persistent uploads.
3 deployments
Deploy
Directus by an independent creator
Directus 12 headless CMS + PostGIS + bucket, admin ready, no Redis bill
2 deployments
Deploy
Directus by an independent creator
Turns any SQL database into a REST API, GraphQL API and admin app
1 deployments
Deploy
Directus [Updated Nov ’26] (Open-Source Headless CMS & Data Platform) by an independent creator
Directus [Nov ’26] (Visualize & Manage Database Content) Self Host
1 deployments
Deploy
Directus by an independent creator
Headless CMS and data platform with Postgres, Redis and S3 bucket storage
0 deployments
Deploy
Directus by an independent creator
Self-host Directus — instant REST and GraphQL APIs over your SQL database
0 deployments
Deploy
Directus + Nextjs Visual Editor by an independent creator
Directus CMS with Next.js for modern content management.
0 deployments
Deploy
Directus | (Just Updated) Headless CMS You Can Actually Log Into by an independent creator
Seeds the admin account a stock deploy never creates. Uploads on a volume.
0 deployments
Deploy
Directus | Pinned, With Admin Credentials You Can Find by an independent creator
Pinned image, admin password in variables instead of the deploy log.
0 deployments
Deploy

Tracklayer templates are listed first. Other Directus templates follow, ordered by total deployments on Railway. How this works.

Deployment numbers as of 2026-11-20.

Questions about Directus

Is Directus open source?

It is source-available, not OSI open source. Without a licence key it runs on the free Core tier, which has limits on seats, collections and flows. Organisations under USD 5M annual revenue and 50 employees can request a free Open Innovation Grant key; larger organisations that need more than Core need a commercial licence. Offering Directus itself as a competing service is not permitted. This is not legal advice.

How do I log in?

Open /admin on your domain and sign in with ADMIN_EMAIL and the generated ADMIN_PASSWORD from the Directus service's Variables tab. There is no shared default password.

Where are uploaded files stored?

In a Railway Bucket, so the Directus service keeps no local file storage. Postgres holds content, users and settings.

Why do password reset e-mails not arrive?

You need a mail transport. Set EMAIL_FROM and EMAIL_TRANSPORT with its settings. Railway allows outbound SMTP only on Pro plans, so on other plans use Mailgun or SendGrid.

How do I use a custom domain?

Add the domain to the service and set PUBLIC_URL to https://your-domain.

Guides

Similar apps

Tracklayer maintains the templates marked as such; Directus is a trademark of its owners and this site is not affiliated with them.