-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
mention how to change internal service port #2078
Conversation
This is very useful when running in host mode network. Is often requested and this is the "official documentation" so far MariaDB/mariadb-docker#334
As the CI's eventually going to point out, this change will need to move from I'm also going to CC @grooverdan and @dbart (the MariaDB image maintainers). |
While this env obviously does work, it does look a bit out of place compared to other env variables. It also doesn't really have a 3306 default Any reason we just couldn't recommend |
This was not intended as an improvement (which i agree with @grooverdan would be to add the explicit default and use --port receiving a proper docker composer variable). This was instead intended as simply documenting the currently accepted work around when using host-only network driver. |
Yeah, it might make sense to expand the "configuration without a cnf file section" to mention And the version: '3.1'
services:
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
command: --port 3309 |
As mentioned in #2708 docs documenting how to change the port, particular for host networking was requested. The example in "configuration without a cnf file section" was already the default anyway (utf8), so this was just replaced. Using MARIADB_ROOT_PASSWORD in the example to move away from MySQL naming (still supported however). Closes: docker-library#2078
As mentioned in #2708 docs documenting how to change the port, particular for host networking was requested. The example in "configuration without a cnf file section" was already the default anyway (utf8), so this was just replaced. Using MARIADB_ROOT_PASSWORD in the example to move away from MySQL naming (still supported however). Closes: docker-library#2078
As mentioned in #2708 docs documenting how to change the port, particular for host networking was requested. The example in "configuration without a cnf file section" was already the default anyway (utf8), so this was just replaced. Using MARIADB_ROOT_PASSWORD in the example to move away from MySQL naming (still supported however). Closes: docker-library#2078
This is very useful when running in host mode network.
Is often requested and this is the "official documentation" so far MariaDB/mariadb-docker#334