Skip to content

Commit

Permalink
Add phpMyAdmin and expose on port 8080
Browse files Browse the repository at this point in the history
Due to the setup of the multisite, it's not possible to use phpmyadmin.stream.wpenv.net to access it.
  • Loading branch information
tharsheblows committed Jul 31, 2024
1 parent c990117 commit 043131c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ services:
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password

phpmyadmin:
image: phpmyadmin/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:
Expand Down

0 comments on commit 043131c

Please sign in to comment.