Skip to content

Commit

Permalink
Merge pull request #118 from WeareJH/mysql-default-auth
Browse files Browse the repository at this point in the history
Lock down mysql auth method
  • Loading branch information
Diego Cabrejas authored Feb 4, 2021
2 parents 49cfe95 + 99fbec8 commit 44b03f3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions wf2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wf2"
version = "0.33.1"
version = "0.33.2"
authors = ["Shane Osbourne <[email protected]>"]
edition = "2018"
description = "PHP docker environments"
Expand All @@ -9,7 +9,7 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wf2_core = { path = "../wf2_core", version = "0.33.1" }
wf2_core = { path = "../wf2_core", version = "0.33.2" }
tokio = "0.1.20"
futures = "0.1.27"
clap = { version = "2.33.0", features = ["yaml"] }
Expand Down
2 changes: 1 addition & 1 deletion wf2_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wf2_core"
version = "0.33.1"
version = "0.33.2"
authors = ["Shane Osbourne <[email protected]>"]
edition = "2018"
description = "The engine for WF2"
Expand Down
3 changes: 2 additions & 1 deletion wf2_core/src/recipes/m2/services/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ impl Service<M2Vars> for DbService {
DbService::VOLUME_ENTRY
),
])
.set_command("--default-authentication-plugin=mysql_native_password")
.set_ports(vec!["3306:3306"])
.set_restart("unless-stopped")
.set_env_file(vec![vars.content[&M2Var::EnvFile].to_string()])
Expand Down Expand Up @@ -120,7 +121,7 @@ mod tests {
- traefik.enable=false
ports:
- "3306:3306"
command: "--default-authentication-plugin=mysql_native_password"
"#;
let expected_dc: DcService = serde_yaml::from_str(expected).expect("test yaml");
Expand Down

0 comments on commit 44b03f3

Please sign in to comment.