Commit 3b815c2
committed
Build/Test Tools: Introduce
This change introduces a `LOCAL_DB_PORTS` environment variable to the `wordpress-develop` Docker environment. This allows users to establish a persistent port mapping for the MySQL database, making it easier to connect to with development tools like PhpStorm. Otherwise, the default database port is ephemeral.
For example, setting `LOCAL_DB_PORTS="33060:3306"` in the `.env` file will make the MySQL container consistently accessible on port `33060`.
Developed in WordPress#9968.
Props westonruter, mindctrl.
See #48281.
Fixes #64014.
git-svn-id: https://develop.svn.wordpress.org/trunk@60926 602fd350-edb4-49c9-b593-d223f7449a82LOCAL_DB_PORTS environment variable.1 parent 217d39a commit 3b815c2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments