Skip to content

🐳 A CLI tool to quickly scaffold Docker-based Postgres or MySQL databases for local development.

License

Notifications You must be signed in to change notification settings

aryanprince/create-docker-db

Repository files navigation

📦 create-docker-db

A CLI to easily create DBs for local development using Docker Compose.

Currently supports Postgres and MySQL.

Screenshot showcasing the create-docker-db CLI tool

🚀 Usage

npx create-docker-db # or bunx create-docker-db

🎯 Roadmap

Features

  • Setup Changesets
  • Display copy-pastable connection URLs for the created databases
  • Modify existing Docker Compose files instead of overwriting them
  • Add support for more databases (see below)
  • Allow Redis to be selected with other DBs (like selecting Postgres + Redis)
  • Add support for more configurations (like custom container names based on project name)

Support Additional Databases

  • Add support for MongoDB
  • Add support for Redis
  • Add support for SQLite (with LibSQL HTTP for Turso)
  • Add support for HTTP based DB services (like PlanetScale, Turso, etc.)