Skip to content

Docker compose with MySQL and Adminer, for local development.

Notifications You must be signed in to change notification settings

brunoxz10/mysql-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

MySQL and Adminer

Docker compose with MySQL and Adminer, for local development.

Overview

This repository contains a Docker Compose configuration for setting up a local environment with MySQL and Adminer.

Prerequisites

Before you begin, ensure you have the following installed on your machine:

Getting Started

Follow these steps to set up and run.

  1. Clone this repository:

    git clone https://github.com/brunoxz10/mysql-docker-compose.git
    
  2. Navigate to the project directory:

    cd mysql-docker-compose
    
  3. Change MYSQL_ROOT_PASSWORD if you want.

  4. Run the Docker Compose command to start the services:

    docker-compose up -d
    

This command will download the necessary Docker images and start the MySQL and Adminer containers.

  1. Access Adminer in your web browser: Adminer URL: http://localhost:8080

  2. Login:
    System: MySQL
    Server: db
    Username: root
    Password: As specified in MYSQL_ROOT_PASSWORD

  3. Stopping the Environment
    This will stop and remove the containers.

    docker-compose down

About

Docker compose with MySQL and Adminer, for local development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published