Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env: Expose port 3306 of MySQL container #21544

Closed
ocean90 opened this issue Apr 11, 2020 · 1 comment · Fixed by #21545
Closed

env: Expose port 3306 of MySQL container #21544

ocean90 opened this issue Apr 11, 2020 · 1 comment · Fixed by #21545
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Tool] Env /packages/env [Type] Enhancement A suggestion for improvement.

Comments

@ocean90
Copy link
Member

ocean90 commented Apr 11, 2020

Is your feature request related to a problem? Please describe.
Currently it's not possible to connect to the MySQL container of @wordpress/env from external. This is similar to #WP48281.

Describe the solution you'd like
The default docker-compose.ymlshould be extended with a ports setting for mysql. For now I don't think it requires another environment variable to specific the exact port as it can be retrieved by calling docker-compose port mysql 3306

@ocean90 ocean90 added [Type] Enhancement A suggestion for improvement. [Tool] Env /packages/env labels Apr 11, 2020
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 11, 2020
@draganescu
Copy link
Contributor

Yes +1 to this. I now have to exec bash on the mariadb container and use the CLI mysql client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Tool] Env /packages/env [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants