You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your application or service must be told what interface and port it should bind to when it runs. The Lagom and Play bundle plugins do that automatically.
The above explanation only works if the endpoint name is web and not a custom one. So we should be more descriptive here as well.
Can we have a PR please? Besides which, you shouldn't need to declare these javaOptions for Play or Lagom services as the sbt-conductr plugin will do it for you.
Trying to get my app working on conductr for the first time I ran in to an annoying-to-track-down problem because I had set:
BundleKeys.endpoints := Map(
"payments" -> Endpoint("http", services = Set(URI("http://:9000")))
)
But omitted:
javaOptions in Bundle ++= Seq("-Dhttp.address=$PAYMENTS_BIND_IP", "-Dhttp.port=$PAYMENTS_BIND_PORT")
I think this page http://conductr.lightbend.com/docs/1.1.x/BundleConfiguration could do with a big red warning if you use a custom endpoint or something. Even better would be if the wiring was done automagically.
The text was updated successfully, but these errors were encountered: