An open API service indexing awesome lists of open source software.

https://github.com/aryanprince/create-docker-db

🐳 A CLI tool to quickly scaffold Docker-based Postgres or MySQL databases for local development.
https://github.com/aryanprince/create-docker-db

database docker docker-compose mysql npm npm-package postgres

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 📦 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](https://github.com/user-attachments/assets/30df32e3-d314-4594-94e9-33cda10702c4)

## 🚀 Usage

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

## 🎯 Roadmap

### Features

- [x] Setup Changesets
- [x] 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
- [x] Add support for Redis
- [ ] Add support for SQLite (with LibSQL HTTP for Turso)
- [ ] Add support for HTTP based DB services (like PlanetScale, Turso, etc.)