Public Repository

Last pushed: 2 years ago
Short Description
phpMyAdmin is a tool written in PHP, intended to handle the administration of MySQL over the Web.
Full Description

Created for easy set up PhpMyAdmin container works with another database (MySQL) container.

Example:

docker run --name db -e MYSQL_ROOT_PASSWORD=my-secret-pw -d mysql:tag
docker run --name phpmyadmin --link db:db -p 9999:80 mejt/phpmyadmin

Type URL localhost:9999 in your browser and log in as ROOT credentials from your DB container.

Example with docker-compose:

phpmyadmin:
  image: mejt/phpmyadmin
  links:
   - db
  ports:
   - "9999:80"

db:
  image: mysql:5.7
  environment:
    MYSQL_USER: user
    MYSQL_PASSWORD:  pass
    MYSQL_DATABASE: db_name
    MYSQL_ROOT_PASSWORD:  root

Run command docker-compose up in your console and result should be similar as above.

Docker Pull Command
Owner
mejt

Comments (0)