Explorar o código

Added phpmyadmin service help dock

Added help text to run phpmyadmin on local to browse MySql database in most popular MySql browsing tool
Gulshan Kumar Maurya %!s(int64=2) %!d(string=hai) anos
pai
achega
2dddb9f6f5
Modificáronse 1 ficheiros con 22 adicións e 0 borrados
  1. 22 0
      README.md

+ 22 - 0
README.md

@@ -346,6 +346,28 @@ You may also monitor Redis by running: `bin/redis redis-cli monitor`
 
 For more information about Redis usage with Magento, <a href="https://devdocs.magento.com/guides/v2.4/config-guide/redis/redis-session.html" target="_blank">see the DevDocs</a>.
 
+**Run phpmyadmin**
+
+Add below service to the `docker-composer.yml` below service db.
+
+```  phpmyadmin:
+    restart: always
+    image: phpmyadmin/phpmyadmin
+    environment:
+      - MYSQL_ROOT_PASSWORD=magento
+      - PMA_USER=root
+      - PMA_PASSWORD=magento
+    ports:
+      - "8080:80"
+    links:
+      - db:db
+    depends_on:
+      - db
+```
+      
+ After adding restart docker using `bin/restart` and open `localhost:8080` to run phpmyadmin in the browser.
+ 
+
 ### Xdebug & VS Code
 
 Install and enable the PHP Debug extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug).