[wp-trac] [WordPress Trac] #48281: Expose port 3306 of MySQL container
WordPress Trac
noreply at wordpress.org
Thu Oct 10 19:10:04 UTC 2019
#48281: Expose port 3306 of MySQL container
------------------------------+-----------------------
Reporter: ocean90 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.4
Component: Build/Test Tools | Version:
Severity: normal | Keywords: has-patch
Focuses: |
------------------------------+-----------------------
To allow accessing the container from external the port 3306 should get
exposed. This is done by defining `ports` in the config, see
https://docs.docker.com/compose/compose-file/#ports.
To retrieve the host port you can then use `docker-compose port mysql
3306`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48281>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list