Skip to content

Commit cfc5cef

Browse files
committed
bind to http.port if provided through env vars
1 parent d1da715 commit cfc5cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/services.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object EvaluatorServer extends App {
2626
val ip = Option(System.getenv("EVALUATOR_SERVER_IP")).getOrElse("0.0.0.0")
2727

2828
val port = (Option(System.getenv("EVALUATOR_SERVER_PORT")) orElse
29-
Option(System.getenv("HTTP_PORT")))
29+
Option(System.getenv("http.port")))
3030
.map(_.toInt)
3131
.getOrElse(8080)
3232

0 commit comments

Comments
 (0)