Skip to content
All recipes
Data platform

Deploy Directus

An API and visual studio over PostgreSQL, with optional external storage for uploaded files.

Why use it

Turn PostgreSQL data into an admin interface and API without building a back office.

Build plan

  1. Pin the official Directus image in a one-file Docker build.
  2. Connect managed PostgreSQL and configure the public service URL.
  3. Use S3-compatible object storage for uploads; local container files are temporary.

Resources and values

Resources
1 ServicePostgreSQLS3-compatible storage
Required values
SECRETDB_*PUBLIC_URLSTORAGE_*
Check before you deploy

If the project has no uploads, object storage is optional. Do not use the local uploads directory for durable files.

Ask your coding agent

Deploy Directus on aidrop with a pinned official image. Create managed PostgreSQL and map the Directus DB_* values to it. Generate SECRET, run on port 8055 and use /server/health as the health path. Set PUBLIC_URL after aidrop assigns the address. If uploads are required, configure S3-compatible storage over HTTPS; do not rely on the local uploads directory. Deploy and return the onboarding URL.

Put Directus online

Connect your coding agent, paste the quickstart and keep the build, runtime and public address in one aidrop Project.

7 days free · No credit card required