-
Notifications
You must be signed in to change notification settings - Fork 159
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
docker compose 部署配置优化 #188
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
对于 Docker Compose 的 MySQL 密码,默认为 abc12345,但如果把配置清单的所有 MySQL 密码修改为新密码后,部署在 logs 发现 spring 无法连接数据库,改回默认密码后则可以正常部署并登录。从行为判断可能是部分组件中 hardcode 了数据库密码。
复现方法
将 docker compose 中的 abc12345 全部替换为新密码进行部署,无法登录,日志显示数据库无法连接。
另外援引 #186,flyfishweb 有部分 typo
The text was updated successfully, but these errors were encountered: