Skip to content

Commit

Permalink
Merge pull request #1533 from xwp/feature/db-ports-local
Browse files Browse the repository at this point in the history
add port so we can see the database
  • Loading branch information
tharsheblows authored Jul 31, 2024
2 parents 7921708 + 94b73ab commit 12ace83
Show file tree
Hide file tree
Showing 2 changed files with 17 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
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,26 @@ services:
image: mariadb:11.4.2
volumes:
- db_data:/var/lib/mysql
ports:
- "3306:3306"
restart: always
environment:
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
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:
Expand Down

0 comments on commit 12ace83

Please sign in to comment.