Skip to content

Add phpMyAdmin Container

ucan-lab edited this page Nov 6, 2020 · 3 revisions

Edit docker-compose.yml

volumes:
  # Append
  pma-session-store:

services:
  # Append
  pma:
    image: phpmyadmin/phpmyadmin:5.0.2
    environment:
      - PMA_HOST=db
      - PMA_USER=root
      - PMA_PASSWORD=secret
    ports:
      - 8080:80
    volumes:
      - pma-session-store:/sessions

Build

$ docker-compose up -d

phpMyAdmin

http://localhost:8080

ScreenShot 2020-09-22 19 11 42 ScreenShot 2020-09-22 19 11 46
Clone this wiki locally