Favicon of Directus

Directus

Connect any database to get a production-ready backend. Let teams manage content, build dashboards, and automate tasks in a secure, visual environment.

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:

  • Automation Builder: Create custom workflows that trigger on data changes, schedules, or webhooks.
  • Customizable Studio: Tailor the interface, dashboards, and views for each user role.
  • AI Integration: Connect AI tools to work with your live data, governed by the same permissions as human users.
  • Extensible Platform: Build custom extensions, interfaces, and modules to fit any project's unique needs.

Directory Structure

directus
db-data
extensions
uploads
.env
docker-compose.yml

docker-compose.yml

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"

.env

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_password

Share:

Ad
Favicon

 

  
 

Similar to Directus

Favicon

 

  
  
Favicon

 

  
  
Favicon