Build a container for Docker x Laravel phpMyAdmin

[Comment](https: // Since there was a request to use phpMyAdmin at qiita.com/ucan-lab/items/5fc1281cd8076c8ac9f4#comment-6cb955aac0bed2872261), I will create a supplementary article.

procedure

https://github.com/ucan-lab/docker-laravel

Added phpMyAdmin service to docker-compose.yml

docker-compose.yml


volumes:
  #Postscript
  pma-session-store:

services:
  #Postscript
  pma:
    image: phpmyadmin/phpmyadmin:5.0.2
    environment:
      - PMA_HOST=db
      - PMA_USER=root
      - PMA_PASSWORD=secret
    ports:
      - 8080:80
    volumes:
      - pma-session-store:/sessions

Build a Docker container

$ docker-compose up -d

Access phpMyAdmin

http://127.0.0.1:8080

If you access the above URL and the phpMyAdmin screen is displayed, it is ok.

ScreenShot 2020-09-22 19.11.42.png

ScreenShot 2020-09-22 19.11.46.png

Supplement

MySQL new authentication plugin caching_sha2_password

In my db container settings, I have set the authentication method to the new caching_sha2_password in MySQL 8.0 series. Since phpMyAdmin does not support caching_sha2_password unless it is 5.0.1 or later, the new version is explicitly specified in the tag. It may be okay to remove it when the latest points to the 5th series.

Serpentine

(Since there is no particular inconvenience with client tools such as MySQL CLI and Sequel Ace, I personally think that it is not necessary to include phpMyAdmin)

Recommended Posts

Build a container for Docker x Laravel phpMyAdmin
Build a container that automatically formats Docker x Laravel code
Build a docker container for a python simple web server
Docker x Laravel Insanely slow Docker for Windows explodes
Build a container for Docker x Laravel phpMyAdmin
Build a SPA for Laravel 6.2 / Vue.js / Nginx / Mysql / Redis with Docker
Build a Laravel / Docker environment with VSCode devcontainer
Build a Kotlin app using OpenJDK's Docker container
Docker x Laravel Insanely slow Docker for Windows explodes
Build a development environment for Docker, java, vscode
[2021] Build a Docker + Vagrant environment for using React / TypeScript
Build a Node.js environment with Docker
Build Clang x VSCode on Docker (1)
Run PureScript on a Docker container
docker single container restart for myself
Build docker + laravel environment with laradock
Build WebRTC Janus with Docker container
I created a Docker image of a container for learning OpenAI Gym
Build a development environment for Django + MySQL + nginx with Docker Compose
I tried to build a laravel operating environment while remembering Docker
One file of Docker x Laravel threat! Build a local development environment with the minimum configuration
How to build a Ruby on Rails environment using Docker (for Docker beginners)
Build a PureScript development environment with Docker
Build a WAS execution environment from Docker
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
Run x11 apps in a Docker container (supports network access from the container)
How to build a Ruby on Rails development environment with Docker (Rails 6.x)
Quick build maven project using maven docker container
Build a local development environment for Rails tutorials with Docker (Rails 6 + PostgreSQL + Webpack)
Laravel + MySQL + phpMyadmin environment construction with Docker
Build a Wordpress development environment with Docker
[Copy and paste] Build a Laravel development environment with Docker Compose Participation
Docker container build fails to install php-radis
Created a Docker container image for an OpenLDAP server based on Fedora
How to build a Ruby on Rails development environment with Docker (Rails 5.x)
Template: Build a Ruby / Rails development environment with a Docker container (Ubuntu version)
Build by specifying docker as a file
Template: Build a Ruby / Rails development environment with a Docker container (Mac version)
Build a simple Docker + Django development environment
Create a Docker container for your development web server in Ansible on MacOS
Build a WordPress development environment quickly with Docker
I made a Docker container to run Maven
Build a simple Docker Compose + Django development environment
Build a Laravel environment on an AWS instance
I tried running Ansible on a Docker container
Repository structure for one-touch build of Node-RED container
Docker Container Operations with Docker-Client API for Java
Docker Container pull has a rate limit enforced
Create a docker environment for Oracle 11g XE
3 Tips to Improve Lead Time for Docker Build
Docker + Laravel + Codeception
Build a local development environment for Open Distro for Elasticsearch with multiple nodes using Docker
How to quit Docker for Mac and build a Docker development environment with Ubuntu + Vagrant
Small Docker container
A simple CRUD app made with Nuxt / Laravel (Docker)
How to build Docker + Springboot app (for basic learning)
How to build docker environment with Gradle for intelliJ
Build Docker + Laravel PHP + Vue.js development environment in 5 minutes
Measures for insufficient memory capacity of docker compose build
Create a Docker container to convert EPS to PGF source
[Note] Build a Python3 environment with Docker in EC2
[Note] I suddenly can't build with Docker for windows.