# Deploy ChartDB with Easypanel

URL: /templates/chartdb

ChartDB is an open-source, web-based database diagramming editor that enables you to visualize and manage database schemas through interactive diagrams. Create entity-relationship diagrams (ERDs) instantly by connecting to your databases and automatically generating visual representations of your schema. The application supports instant schema visualization using a single query and offers AI-powered features through OpenAI integration for intelligent SQL export and schema management. ChartDB provides an intuitive interface for understanding complex database structures, making it perfect for developers, database administrators, and teams who need to document and communicate database designs. With its modern web-based approach, you can access your database diagrams from anywhere and collaborate effectively on database architecture without installing desktop software.

## Benefits

### Instant Schema Visualization

Connect to your databases and automatically generate visual entity-relationship diagrams with a single query, saving hours of manual diagramming work.

### AI-Powered Features

Leverage OpenAI integration for intelligent SQL export, schema suggestions, and automated database documentation generation.

### Web-Based Access

Access your database diagrams from anywhere with a modern web interface, no desktop software installation required.

### Open Source

Benefit from a fully open-source solution with active community support and the flexibility to customize for your needs.

## Features

### Database Schema Visualization

Automatically generate interactive entity-relationship diagrams from your existing databases with instant schema detection and visualization.

### Interactive Diagrams

Create and edit database diagrams with an intuitive drag-and-drop interface, making database design accessible and collaborative.

### AI-Powered SQL Export

Use OpenAI integration to generate intelligent SQL exports and receive smart suggestions for schema optimization and design improvements.

### Single Query Schema Import

Import entire database schemas instantly with a single query, supporting rapid visualization of complex database structures.

### Modern Web Interface

Access ChartDB through a clean, modern web interface that works seamlessly across desktop and mobile devices.

### Multiple Database Support

Connect to various database systems and visualize schemas from different database platforms in a unified interface.

### Self-Hosted Solution

Deploy ChartDB on your own infrastructure to maintain complete control over your database documentation and sensitive schema information.

### Collaboration Ready

Share and collaborate on database designs with your team through a centralized web-based platform accessible to all stakeholders.

## Configuration

- `appServiceName` (App Service Name, required): chartdb

- `appServiceImage` (App Service Image, required): ghcr.io/chartdb/chartdb:1.20.1 — ChartDB Docker image

- `openaiApiKey` (OpenAI API Key): Set during installation — Optional OpenAI API key to enable AI-powered features like intelligent SQL export and schema suggestions

## Services

- chartdb: app (ghcr.io/chartdb/chartdb:1.20.1)

## Resources

- [Website](https://chartdb.io)

- [GitHub](https://github.com/chartdb/chartdb)

- [Template source](https://github.com/easypanel-io/templates/tree/main/templates/chartdb)