Skip to content

A collection of Docker Compose configurations for setting up and managing multiple databases (Redis, MySQL, PostgreSQL, etc.) in isolated environments. Each service is self-contained in its own directory, providing an easy-to-use solution for local development and testing.

Notifications You must be signed in to change notification settings

munzirulalom/docker-databases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Databases

This repository contains pre-configured Docker Compose setups for popular database systems to streamline local development and testing. Each database setup includes a database server and, where applicable, a web-based management tool for ease of use.


Table of Contents


Overview

This repository provides Docker Compose configurations for the following database systems:

  1. Redis - A high-performance in-memory data structure store, with RedisInsight for visual management.
  2. PostgreSQL - A powerful open-source relational database, with Adminer for web-based administration.
  3. MySQL - A widely-used open-source relational database, also paired with Adminer.

Each setup is self-contained within its directory and ready for deployment with minimal configuration.


Available Databases

1. Redis

2. PostgreSQL

3. MySQL


Getting Started

Installation

⚠️ Ensure Docker or the Docker daemon is running on your device before proceeding.

  1. Clone the repository:

    git clone https://github.com/munzirulalom/docker-databases.git
  2. Navigate to the desired database directory (e.g., Redis, PostgreSQL, or MySQL):

    cd docker-databases/<database-name>
  3. Start the services using Docker Compose:

    docker compose up -d

Stopping and Restarting

To stop the containers:

docker compose down

To restart the containers:

docker compose up -d

Accessing the Services

Each database has specific instructions for connecting to the database server and accessing web-based management tools:

Refer to the respective README.md files in each directory for detailed connection instructions.


With this repository, you can easily set up and run popular databases for local development. Simply navigate to the desired directory, start the services, and connect to your environment. Happy coding! 🚀

About

A collection of Docker Compose configurations for setting up and managing multiple databases (Redis, MySQL, PostgreSQL, etc.) in isolated environments. Each service is self-contained in its own directory, providing an easy-to-use solution for local development and testing.

Topics

Resources

Stars

Watchers

Forks