Directus

Turn any SQL database into an API. Optional S3 and WebSockets Included!

Deploy Directus

Directus

directus/directus:latest

Just deployed

/directus/data

Postgres

postgis/postgis:13-master

Just deployed

/var/lib/postgresql/data

Deploy and Host Directus on Railway

Directus is the world's first Open Data Platform for instantly turning any SQL database into an API with a beautiful CMS dashboard.

About Hosting Directus

Directus enables you to design and build a REST + GraphQL API in minutes and enables anyone to author content, manage media, and visualize data. Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default. This is done so that there are no egress fees for the database. If you want to enable access from outside of the private network you can go to the databases settings page to enable TCP proxying and enter the internal port 5432. The TCP proxy can be again removed at any point to close off external access.

Common Use Cases

  • Admin Panel Development: Build admin panels for applications with custom data management interfaces
  • Digital Experience Management: Manage digital experiences content through the CMS dashboard
  • SaaS Platform Development: Power SaaS platforms with flexible API and content management capabilities

Dependencies for Directus Hosting

The Railway template includes the required Node.js runtime and PostgreSQL database with pre-configured private network connections.

Deployment Dependencies

Implementation Details

Directus Highlights:

  • Extensions Marketplace: Access to extensions and plugins for enhanced functionality
  • Private Networking out of the box: Secure database communication over private network connections
  • 100% JavaScript modular codebase: Modern development stack with modular architecture
  • Install on top of any SQL database: Compatible with various SQL database systems
  • Design and build a REST + GraphQL API in minutes: Rapid API development and deployment
  • Enable anyone to author content, manage media, and visualize data: User-friendly content management interface
  • Build admin panels, manage digital experiences content, power SaaS platforms, and more: Versatile platform for various application types

NOTE: Communication to Postgres is done exclusively over the private network and the database is not exposed externally in any way by default. This is done so that there are no egress fees for the database. If you want to enable access from outside of the private network you can go to the databases settings page to enable TCP proxying and enter the internal port 5432. The TCP proxy can be again removed at any point to close off external access.

Why Deploy Directus on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Directus on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Strapi
A popular self-hosted CMS

View Template
Directus (docker/websocket/extensions) + PostGIS (docker/TCP) + S3/Local
Directus (Docker) + PostGIS (Docker/TCP) + S3

View Template
Nitropage
A self-hosted visual website builder and CMS.