Instantly generate a production-ready backend by connecting to any SQL database. This platform provides a complete data toolkit, including REST and GraphQL APIs, authentication, and a powerful admin panel, eliminating the need to build foundational backend services from scratch. It's designed for developers who need more than a traditional CMS.
The real power lies in transforming your database into a collaborative workspace. It provides a secure and intuitive interface for non-technical users to manage content, view data on custom dashboards, and interact with information directly. Developers can set up granular permissions, creating guardrails that empower business teams to work independently without filing support tickets. This approach keeps everyone working on a single source of truth.
Key capabilities include:
services:
database:
image: postgres:15
container_name: directus-db
restart: always
volumes:
- ./db-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: directus
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: directus
directus:
image: directus/directus:latest
container_name: directus-app
restart: always
ports:
- "8055:8055"
volumes:
- ./uploads:/directus/uploads
- ./extensions:/directus/extensions
depends_on:
- database
environment:
KEY: ${KEY}
SECRET: ${SECRET}
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
DB_CLIENT: pg
DB_HOST: database
DB_PORT: 5432
DB_DATABASE: directus
DB_USER: directus
DB_PASSWORD: ${DB_PASSWORD}
WEBSOCKETS_ENABLED: "true"KEY=replace-with-a-secure-random-uuid
SECRET=replace-with-a-secure-random-uuid
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=super_secret_admin_password
DB_PASSWORD=super_secret_database_passwordAuto-fetched about 21 hours ago
Auto-fetched about 21 hours ago