Fix css for menu, fix prod api url

This commit is contained in:
Guntis Smaukstelis
2023-12-25 23:20:34 +02:00
parent 5324f4c176
commit 9851b9dcd3
5 changed files with 75 additions and 22 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ object DBConnection {
private def getDbPassword = sys.env.getOrElse("POSTGRES_PASSWORD", "")
private def getDatabaseUrl: String =
sys.env.getOrElse("DATABASE_URL", s"postgres://${getDbUser}:${getDbPassword}@0.0.0.0:5432/${getDbName}") // host - postgres for docker, 0.0.0.0 outside docker
sys.env.getOrElse("DATABASE_URL", s"postgres://${getDbUser}:${getDbPassword}@postgres:5432/${getDbName}") // host - postgres for docker, 0.0.0.0 outside docker
private def parseUrl(url: String): Either[String, PostgresConfig] = {
Try {