CMS & Websites

Directus

Directus — turn your SQL database into REST/GraphQL APIs and a no-code admin interface, without writing a backend.

About Directus

Directus is an open-source headless CMS and data platform (Apache-2.0) built in Node.js. It sits on top of any SQL database — PostgreSQL, MySQL, MariaDB, SQLite — and auto-generates a complete REST and GraphQL API without a single line of backend code. The no-code admin interface lets any team member model content, manage records, set granular row-level permissions and build automated workflows.

On a ServOrbit VPS, Directus runs in a single Docker container using SQLite as its default database — no external services required. The container exposes port 8055 and is proxied by nginx for HTTPS access. Your admin credentials are generated at provisioning time and displayed in your ServOrbit dashboard. Once a domain is attached, every front-end you build — Nuxt, Next.js, mobile — can consume your Directus API over HTTPS without additional configuration.

What gets installed

Ready when the VPS starts

Compatible OS
Choice of Linux distributions
Application
Directus
Tech stack
DockerNode.jsSQLite
Minimum RAM
512 MB
Minimum CPU
1 vCPU
Access
root over SSH

Key features

  • REST and GraphQL APIs auto-generated from any SQL schema — zero backend code required.
  • No-code admin UI to model content, manage roles and set granular field-level permissions.
  • Works on top of PostgreSQL, MySQL, SQLite, MariaDB or any supported SQL database you already own.
  • Built-in media management with on-the-fly image transformations and S3-compatible storage support.
  • Flows and webhooks for workflow automation — trigger scripts on any data event without code.
  • Apache-2.0 license — fully self-hostable, all your data stays on your VPS.

When to use this solution?

Headless CMS for multi-frontend projects

Point multiple front-ends — Nuxt, Next.js, mobile apps — at a single Directus instance and manage all content from one no-code interface. No duplicated schemas, no conflicting data stores.

Auto-generated API on an existing database

Drop Directus on top of any PostgreSQL or MySQL database you already own: it introspects your schema and generates a full REST and GraphQL API on top without touching your data model.

No-code data platform for non-technical teams

Give your team a spreadsheet-like interface to create, edit and query records — with row-level permissions and shared views, without writing SQL or building custom CRUD endpoints.

Guide

Deploy Directus on your VPS

  1. Order your VPS and select Directus

    Choose a ServOrbit VPS and select Directus in the Marketplace. The instance is delivered with Docker pre-installed and the Directus container running. Your admin credentials are generated automatically and displayed in your ServOrbit dashboard.

  2. Access the admin panel

    Directus does not require a domain name. Open an SSH tunnel: ssh -L 8055:127.0.0.1:{{ expose_port }} root@<your-vps-ip> then open http://localhost:8055. Log in with [email protected] and the password shown in your ServOrbit dashboard.

  3. Create your first collection

    In the admin panel, go to Settings → Data Model → Create Collection. Define your fields and types. Directus immediately exposes the collection as /items/<collection> via both the REST API and the GraphQL endpoint (/graphql).

  4. Configure roles and permissions

    Under Settings → Roles & Permissions, create roles and assign field-level read/write access. Set the public role to denied by default and open only the collections your front-end needs — this prevents unintended data exposure.

Frequently asked questions

Questions about Directus

← Back to CMS & WebsitesAll applications
No. Directus works without a domain via an SSH tunnel: ssh -L 8055:127.0.0.1:<port> root@<vps-ip> then http://localhost:8055. For production front-ends, attach a domain from your ServOrbit dashboard — nginx proxies to the Directus container over HTTPS.

Embed the deploy button

Maintaining a project that uses Directus? This button lets your readers deploy it on a VPS in one click, without reading Docker documentation.

Deploy Directus on ServOrbit
Markdown
[![Deploy Directus on ServOrbit](https://servorbit.com/brand/deploy/button.svg)](https://servorbit.com/vps-cloud?template=directus&utm_source=deploy-badge&utm_medium=referral&utm_campaign=directus)
HTML
<a href="https://servorbit.com/vps-cloud?template=directus&utm_source=deploy-badge&utm_medium=referral&utm_campaign=directus"><img src="https://servorbit.com/brand/deploy/button.svg" alt="Deploy Directus on ServOrbit" height="40"></a>

The button points to a VPS order with the template preselected. The image is served from servorbit.com — nothing to host on your side.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.

Message us on WhatsAppopens in a new tab