Skip to content

Z-Fikar/dockercompose-mysql-phpmyadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

DOCKER COMPOSE PHPMYADMIN MYSQL

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

Learn more docker compose here

PLayground

  1. Clone this repository
    git clone git@github.com:fuadajip/dockercompose-mysql-phpmyadmin.git
  1. Change to directory
    cd dockercompose-mysql-phpmyadmin
  1. Up the compose
    docker-compose up -d
  1. Access phpmyadmin
    your_ip:8183
    Server: mysql
    Username: root/user
    Password: root/user
  1. Access mysql on terminal
    docker exec -it mysql_container_name mysql -u root -p

Docker phpmyadmin ENV

PMA_ARBITRARY when set to 1 connection to the arbitrary server will be allowed
PPMA_HOST define address/host name of the MySQL server
PMA_PORT define port of the MySQL server

For more information about phpmyadmin image

READ HERE

For more information about mysql ENV

READ HERE

About

Docker compose setup mysql and phpmyadmin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published