Skip to content

Commit 89dfd40

Browse files
Build/Test Tools: Expose port 3306 of MySQL container.
This only defines the container port to allow `docker-compose` to choose an ephemeral host port. Props ocean90, peterwilsoncc. Fixes #48281. git-svn-id: https://develop.svn.wordpress.org/trunk@47225 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 98e5dd5 commit 89dfd40

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎docker-compose.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ services:
5858
networks:
5959
- wpdevnet
6060

61+
ports:
62+
- "3306"
63+
6164
environment:
6265
MYSQL_ROOT_PASSWORD: password
6366

0 commit comments

Comments
 (0)