Selaa lähdekoodia

Merge pull request #772 from gulshankumar/master

Mark Shust 2 vuotta sitten
vanhempi
commit
bfe5b7cca5
2 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 4 0
      README.md
  2. 8 0
      compose/docker-compose.dev.yml

+ 4 - 0
README.md

@@ -346,6 +346,10 @@ 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>.
 
+### PhpMyAdmin
+
+PhpMyAdmin is built into the `docker-compose.dev.yml` file. Simply open `http://localhost:8080` in a web 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).

+ 8 - 0
compose/docker-compose.dev.yml

@@ -22,3 +22,11 @@ services:
 
   phpfpm:
     volumes: *appvolumes
+
+  phpmyadmin:
+    image: phpmyadmin/phpmyadmin
+    env_file: env/db.env
+    ports:
+      - "8080:80"
+    depends_on:
+      - db