Skip to content

Template · CMS & sites

Directus

Instant REST + GraphQL API and admin app on top of PostgreSQL.

Deploy on Skiffly

Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.

  • Postgrespostgres:17
  • Directusdirectus/directus:11
Upstream documentation

What gets deployed

2 services in the environment you pick, on the private network of the project.

About this template

directus/directus:11 + PostgreSQL 17. Admin credentials are generated; uploads on a volume.

Postgres

Image: postgres:17

  • Port 5432/tcp
  • 10 GB volume at /var/lib/postgresql/data
  • 1 vCPU · 1 GB

Directus

Image: directus/directus:11

  • Port 8055/http
  • Public domain with TLS
  • 5 GB volume at /directus/uploads
  • 1 vCPU · 1 GB
  • /server/health

Variables

Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.

Postgres

NameValue
POSTGRES_USERpostgresSuperuser name
POSTGRES_PASSWORDgenerated (password)Generated at deploy
POSTGRES_DBdirectusDatabase created on first start
PGDATA/var/lib/postgresql/data/pgdata
DATABASE_URLpostgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network

Directus

NameValue
KEYgenerated (uuid)
SECRETgenerated (secret)
DB_CLIENTpg
DB_HOST${{Postgres.SKIFFLY_PRIVATE_DOMAIN}}
DB_PORT5432
DB_DATABASE${{Postgres.POSTGRES_DB}}
DB_USER${{Postgres.POSTGRES_USER}}
DB_PASSWORD${{Postgres.POSTGRES_PASSWORD}}
ADMIN_EMAILadmin@example.comFirst admin login
ADMIN_PASSWORDgenerated (password)
PUBLIC_URLhttps://${{self.SKIFFLY_PUBLIC_DOMAIN}}
WEBSOCKETS_ENABLEDtrue

Deploy button for your README

Add a one-click deploy link to your repository or docs. Two variants: for light and dark backgrounds.

Deploy on SkifflyDeploy on Skiffly
Markdown · Light background
[![Deploy on Skiffly](https://skiffly.dev/button.svg)](https://skiffly.dev/templates/directus)
Markdown · Dark background
[![Deploy on Skiffly](https://skiffly.dev/button-dark.svg)](https://skiffly.dev/templates/directus)
HTML
<a href="https://skiffly.dev/templates/directus"><img src="https://skiffly.dev/button.svg" alt="Deploy on Skiffly" height="32"></a>

Deploy Directus in one click

Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.