andreaskoch / dockerized-magento

A dockerized Magento Community Edition 1.9.x
BSD 3-Clause "New" or "Revised" License
278 stars 144 forks source link

Add phpMyAdmin to docker-compose.yml file #18

Closed timrsfo closed 7 years ago

timrsfo commented 8 years ago

This is more of a heads-up than an issue, if you add the following to the end of the docker-compose.yml file users will have browser access to the db

 phpmyadmin:
   image: phpmyadmin/phpmyadmin
   links:
    - mysql:mysql
   ports:
     - 9191:80
  environment:
    MYSQL_USERNAME: root
    MYSQL_ROOT_PASSWORD: pw
     PMA_HOST: mysql

NOTE: 9191 is the host port http://localhost:9191 - will bring up phyMyAdmin

BTW: Thanks for dockerized-magento, its great for creating a test/learning environment!

andreaskoch commented 7 years ago

Thanks for the suggestion. I have added phpMyAdmin to the docker-compose.yml. It's available on port 8080:

screenshot-2016-11-09-002-phpmyadmin - google chrome

screenshot-2016-11-09-003-dockerized-magento local 8080 - mysql - magento phpmyadmin 4 6 4 - google chrome