Skip to content

Commit

Permalink
Merge pull request #438 from lmenezes/port_env_var
Browse files Browse the repository at this point in the history
Configure cerebro http port using CEREBRO_PORT env var
  • Loading branch information
moliware committed Apr 24, 2020
2 parents 1228299 + 04b5ca8 commit 4f61dde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4f61dde

Please sign in to comment.