Verified Commit eb3e2803 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

rstrip MARIADB_PASSWORD and MARIADB_USER

parent 37034636
Pipeline #26304 passed with stages
in 4 minutes and 52 seconds
......@@ -64,12 +64,12 @@ trait AppSettings {
}
val esIndex: String = sys.env("ELASTIC_INDEX")
val mariaDBHost: String = s"jdbc:mariadb://${sys.env("MARIADB_HOST")}:${sys.env("MARIADB_PORT")}/${sys.env("MARIADB_DATABASE")}"
val mariaDBPassword: String = sys.env("MARIADB_PASSWORD")
val mariaDBPassword: String = sys.env("MARIADB_PASSWORD").replaceAll("\\s+$", "")
val mariaDBTables: List[String] = sys
.env("MARIADB_TABLES")
.split(", *")
.toList
val mariaDBUser: String = sys.env("MARIADB_USER")
val mariaDBUser: String = sys.env("MARIADB_USER").replaceAll("\\s+$", "")
val mediaFolderRootPath: String = sys.env("MEDIA_FOLDER_ROOT_PATH")
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment