From 04b5ca8935cdf49e11aa125aeab6121e5bdd466a Mon Sep 17 00:00:00 2001 From: moliware Date: Thu, 23 Apr 2020 11:47:19 +0200 Subject: [PATCH] Configure cerebro http port using CEREBRO_PORT env var --- conf/application.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/application.conf b/conf/application.conf index c6e8240c..3d8f3262 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -17,6 +17,11 @@ rest.history.size = 50 // defaults to 50 if not specified #data.path: "/var/lib/cerebro/cerebro.db" data.path = "./cerebro.db" +play { + # Cerebro port, by default it's 9000 (play's default) + server.http.port = ${?CEREBRO_PORT} +} + es = { gzip = true }