dPanel dPanel
← All documentation
Architecture

Operating Structure of dPanel

Aug 26, 2026 · 3 views

Operating Structure

Core Components

  • dPanel Core: main process, handles API, UI, and configuration.
  • Worker Service: background tasks, queue processing.
  • Database Layer: PostgreSQL, migrations, and schema management.
  • File System: /var/dpanel, logs, backups, and data storage.

Service Interaction Flow

  1. User requests via the web UI.
  2. API routes to the Core process.
  3. Core validates and triggers the Worker if background work is required.
  4. Worker performs tasks, updates the database, and writes logs.
  5. Core returns the final response to the user.

Deployment Diagram

graph TD
    UI[Web UI] -->|HTTP| Core[dPanel Core]
    Core -->|Queue| Worker[Worker Service]
    Worker -->|DB Ops| DB[PostgreSQL]
    Core -->|Logs| FS[File System]

File System Layout

/var/dpanel/
├── config/
├── logs/
├── backups/
└── data/

Monitoring & Logging

  • Use Prometheus for metrics collection.
  • Visualize with Grafana dashboards.
  • Log rotation via logrotate to keep disk usage in check.

For more details, see the official dPanel Documentation.