projects/containdb

ContainDB

Database DevOps Automation Tool

v1.0.3Active DevelopmentApache 2.0
1K+
CLI Downloads
200+
GitHub Stars
8
Supported DBs

A CLI tool that automates the setup and management of containerized databases. One-click deployment for MongoDB, Redis, MySQL, PostgreSQL with integrated GUI management tools.

// Tech Stack

GoDockerCLICobraDocker Compose

// Key Features

🗄️

Multi-Database Support

MongoDB, Redis, MySQL, PostgreSQL, and more out of the box

🖥️

GUI Tools Included

Automatic setup of Mongo Express, phpMyAdmin, Redis Commander

🚀

One Command Deploy

Start complete database environments with a single command

⚙️

Environment Profiles

Preconfigured dev, staging, and production profiles

// Installation

bash
# Install using Go
go install github.com/nexoral/containdb@latest

# Or download binary from releases
curl -L https://github.com/nexoral/containdb/releases/latest/download/containdb-linux-amd64 -o containdb
chmod +x containdb
sudo mv containdb /usr/local/bin/

// Usage Example

code
# Start MongoDB with Mongo Express GUI
containdb start mongodb --with-gui

# Start PostgreSQL with custom configuration
containdb start postgres \
  --port 5432 \
  --password mypassword \
  --database myapp

# List all running database containers
containdb list

# Stop and remove containers
containdb stop mongodb

Ready to get started?

Check out the full documentation and examples on GitHub

View on GitHub →