Star
Try it

Spin up, scale out: The ultimate Directus Docker Compose stack.

Leveraging Docker Compose to provide a portable, isolated, and high-performance environment for your Directus data engine.

See docker-compose.yml
cms
dev
javascript
directus
Directus is an Open Data Platform built to democratize the database. This platform provides everyone on your team, regardless of technical skill, equal access to data and digital file asset management, for any data model or project.

name: Directus-with-postgres
services:
  database:
    image: postgis/postgis:13-master
    environment:
      - POSTGRES_USER=directus
      - POSTGRES_PASSWORD=directus
      - POSTGRES_DB=directus
    volumes:
      - ./data/database:/var/lib/postgresql/data
  cache:
    image: redis:6
  directus:
    image: directus/directus:11.2.1
    ports:
      - 8055:8055
    environment:
      - SECRET=replace-with-secure-random-value
      - DB_CLIENT=pg
      - DB_HOST=database
      - DB_PORT=5432
      - DB_DATABASE=directus
      - DB_USER=directus
      - DB_PASSWORD=directus
      - CACHE_ENABLED=true
      - CACHE_AUTO_PURGE=true
      - CACHE_STORE=redis
      - REDIS=redis://cache:6379
      - ADMIN_EMAIL=admin@example.com
      - ADMIN_PASSWORD=d1r3ctu5
    depends_on:
      - database
      - cache
    volumes:
      - ./uploads:/directus/uploads
      - ./extensions:/directus/extensions

Summary: What is Directus?

Directus is an open-source platform designed to democratize access to databases and digital file management. It enables the entire team, regardless of technical skill level, to interact with data models or projects in an intuitive and powerful way.

Core Features

1. Database Introspection & Abstraction

  • Connect Directus to any existing or new SQL database.
  • Directus analyzes (introspects) the database structure to generate an abstraction layer that simplifies data management.
  • Compatible with all major SQL databases with no vendor lock-in.

2. Dynamic App & API

  • Automatically generates REST and GraphQL endpoints for CRUD operations.
  • Offers CLI tools for file management and a complete JavaScript SDK.
  • A no-code Graphical User Interface (GUI) provides simplified API access.

3. Modularity & Extensibility

  • Organized into modules for specific functions:
    • Content and data management
    • Digital asset management
    • Creation of analytical dashboards
  • 100% open-source, built with TypeScript, Node.js, and Vue.js.
  • Extensible and scalable, even for projects with millions of users.

4. Custom Configuration Options

  • Configurable global variables:
    • SSO Authentication
    • Caching
    • File storage (Local, S3, Google Cloud, etc.)
    • Email delivery

Typical Use Cases

  • Headless CMS
  • Learning Management System (LMS)
  • Inventory management
  • No-code data platform
  • Backend-as-a-Service
  • Complete data-driven API architecture

With Directus, your project benefits from a flexible and powerful tool, compatible with any frontend stack or framework.