Skip to content

Commit

Permalink
Switch to env vars for mysql / dsn config
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelborn committed Jan 17, 2025
1 parent 6b56d44 commit 328e919
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/test/resources/app/Application.bx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ class{
"TestDB" = {
"driver" = "mysql",
"database" = "test",
"host" = "127.0.0.1",
"port" = "3306",
"username" = "root",
"password" = "root",
"host" = "${env.DB_HOST:127.0.0.1}",
"port" = "${env.DB_PORT:3306}",
"username" = "${env.DB_USER:root}",
"password" = "${env.DB_PASSWORD:root}",
"LeakDetectionThreshold" = 3
},
"dsn2": {
"driver" = "mysql",
"database" = "dsn2",
"host" = "127.0.0.1",
"port" = "3306",
"username" = "root",
"password" = "root",
"host" = "${env.DB_HOST:127.0.0.1}",
"port" = "${env.DB_PORT:3306}",
"username" = "${env.DB_USER:root}",
"password" = "${env.DB_PASSWORD:root}",
"LeakDetectionThreshold" = 3
}
};
Expand Down

0 comments on commit 328e919

Please sign in to comment.