/docker_local_mysql

Private MySQL database server in Docker environment

Private MySQL Database Server

Introduction

This build in not contain Dockerfile because the official image is currently enough for me.

UPDATE: I extended this environment with customized Nginx and PHP-FPM container configurations for using phpMyAdmin DBMS.

Configuration

I attached an optimized my.cnf config file (created by Fotis Evangelou) to container. Some other secret configuration options set in an .env file (of course this in not a part of this repo for privacy reasons )

Modifications

  • The default image not contain any text editor therefore after create the container and enter into and install nano editor.
  • The custom config files permissions my not be correct and must be change to 0444.

Networking

This database container available at 172.18.0.4 IP-address or mysql.dev.home domain. The user interface (Nginx container) available at the phpmyadmin.dev.home domain.

Usage

The phpMyAdmin user interface is accessible by phpmyadmin.dev.home private domain. phpMyAdmin graphical user interface