Skip to content

Add phpMyAdmin Container

ucan-lab edited this page Jun 14, 2023 · 3 revisions

compose.yml

volumes:
  # Append
  pma-session-store:

services:
  # Append
  pma:
    image: phpmyadmin/phpmyadmin
    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