Directus
A headless CMS and data studio with REST and GraphQL APIs over PostgreSQL.
Directus 12 on PostgreSQL with persistent volumes for uploaded files and extensions, a generated secret for its tokens and your public URL wired in. Your admin account is created on the first start. Directus sends no email until you add SMTP settings to the app (EMAIL_TRANSPORT=smtp and the EMAIL_SMTP_ variables).
- Smallest plan
- Starter
- Storage
- 4 GiB
- Apps
- 1
- Databases
- 1
One stack, wired together for you.
- AddressHTTPS addressYour own domain when you add one
- Web serviceDirectus web servicedirectus/directus:12.7.0 · Small · 512 MiB
- DatabasePostgreSQL databasePostgreSQL 17 · Nano · 128 MiB · 1 GiB disk
- VolumeUploaded files2 GiB volume at /directus/uploads
- VolumeInstalled extensions1 GiB volume at /directus/extensions
Set up once: Check the admin sign-in
Backed up together: PostgreSQL database + Uploaded files + Installed extensions
Needs 1.5 vCPU · 640 MiB memory · 4 GiB storage.
- Daily backups, kept 7 days
- 1 custom domain
- Alerts by email
Once the stack is ready, these are backed up together as one unit:
- PostgreSQL database
- Uploaded files
- Installed extensions
Collections, content, users and settings live in PostgreSQL; the volumes hold uploaded files and installed extensions. Restore them together.
After that, each database and volume is backed up daily on plans that keep backups, and you restore from the Backups page.
- Every password and key this stack needs, the database's included, is generated for it and stored encrypted; none is a default you have to change.
- Passwords stay hidden on the stack page until you reveal them, and every reveal is audited.
- It runs in your account's own Kubernetes namespace, behind a network policy that keeps other tenants out; its databases are reachable only from inside unless you open them.
- Containers run without privilege escalation and with the default seccomp profile, and the app is served over HTTPS.
When the stack is ready
- Data Studiolink
- API base URLlink
- Admin emailemail
- Admin passwordrevealed on request
What you get
Directus on top of a PostgreSQL database: a data studio for editors and REST and GraphQL APIs for your front ends, on one HTTPS address. Your admin account exists from the very first start — Directus creates it from the email and generated password in the deploy form before it begins serving, so the instance is never reachable without an owner. A setup step then signs in with that account to check it works.
The project name you choose appears in the studio, and the public URL is set to the stack's address, so links to files and the studio are right from the start.
How it runs
- One web service running Directus on Node.js, sized to what it uses at rest rather than the smallest size that boots.
- PostgreSQL for your collections, content, users, roles and settings — the database is yours to query too, from the AI or with your own tools when you open access.
- Two volumes: one for uploaded files and one for installed extensions, both kept across restarts and redeploys.
- A generated secret for the tokens Directus signs.
Backups take the PostgreSQL dump and both volumes as one unit, so a restore brings back content and the files it points to together.
Using it as a backend
Directus works well under a site or app the AI builds for you: ask for "a Next.js site that reads articles from my Directus", and the app gets the API address as an environment variable. Create a static token for it in Directus, or let the app sign in as a dedicated user with the role you choose.
Or say it in a sentence.
The AI deploys the same template, asks for anything it needs, and can set up a domain or alerts while it is at it.
Questions, answered.
Which email can I use for the admin?
Any real address. Directus rejects some reserved domains (such as .test and .localhost), so the deploy form expects an address you could receive mail on.
Can I install extensions?
Yes. Extensions are stored on their own volume, so they survive restarts. Install them the way Directus documents, then restart the app.
Does Directus send email?
Not until you configure it: add EMAIL_TRANSPORT=smtp and the EMAIL_SMTP_… variables to the web service. Password resets and invitations need it.
Is the admin password kept in the app's environment?
The bootstrap values are set as environment variables on the app, which are encrypted at rest and hidden until revealed. They only matter on the very first start; change the password in Directus afterwards if you like.
Can I use Directus with an existing database?
This template creates a fresh PostgreSQL database. To point Directus at another one, change its DB_… variables — but keep in mind backups follow the database the stack created.
Deploy Directus in a few minutes.
Every template creates its apps, databases, storage, secrets and backups together, sized to fit your plan.