Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.38 KB

DockerComposerManuals.md

File metadata and controls

48 lines (40 loc) · 1.38 KB

Docker Compose for mySQL AND phpMyAdmin

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 #How to:

  1. Install Docker (Learn more about docker installation here)

  2. Enter on the project root directory

  3. Up the compose

    docker-compose up -d
  1. Access phpmyadmin
    your_ip:8183
    Server: mysql
    Username: root/root
    Password: root/pass
  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

If you need more information about phpmyadmin image.

READ HERE

If you need more information about mysql image.

READ HERE