diff --git a/contributing.md b/contributing.md index 6a7f72ae2..3e4a53471 100644 --- a/contributing.md +++ b/contributing.md @@ -41,6 +41,10 @@ In order to set up Step Debugging in PhpStorm, follow the [official guide](https We use a [MailHog](https://github.com/mailhog/MailHog) container to capture all emails sent by the WordPress container, available at [stream.wpenv.net:8025](https://stream.wpenv.net:8025). +### phpMyAdmin + +[phpMyAdmin ](https://www.phpmyadmin.net/) is available at [stream.wpenv.net:8080](http://stream.wpenv.net:8080/). + ### Scripts and Commands We use npm as the canonical task runner for the project. The following commands are available: diff --git a/docker-compose.yml b/docker-compose.yml index a36e80f64..688165808 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,8 @@ services: image: mariadb:11.4.2 volumes: - db_data:/var/lib/mysql + ports: + - "3306:3306" restart: always environment: MYSQL_DATABASE: wordpress @@ -11,6 +13,17 @@ services: MYSQL_PASSWORD: password MYSQL_ROOT_PASSWORD: password + phpmyadmin: + image: phpmyadmin:5.2.1 + ports: + - "8080:80" + depends_on: + - mysql + environment: + PMA_HOST: mysql + PMA_USER: root + PMA_PASSWORD: password + wordpress: image: ghcr.io/xwp/stream-wordpress:${WORDPRESS_IMAGE_VERSION:-latest} build: