Set a sensible default for broadcast address if BIND_ON_IP is 0.0.0.0.
Why?
We require broadcast address to be set if listening on all interfaces, but it is not possible for users to know which IP they will have via environment variables on all platforms.
Checklist
Closes
How was this tested:
Tested by two users on slack replacing their custom docker images that set TEMPORAL_BROADCAST_ADDRESS for them.
Also note this only sets TEMPORAL_BROADCAST_ADDRESS if it isn't already set and BIND_ON_IP=0.0.0.0 which is a known broken configuration anyway.
What was changed
Set a sensible default for broadcast address if BIND_ON_IP is 0.0.0.0.
Why?
We require broadcast address to be set if listening on all interfaces, but it is not possible for users to know which IP they will have via environment variables on all platforms.
Checklist
Closes
How was this tested: Tested by two users on slack replacing their custom docker images that set TEMPORAL_BROADCAST_ADDRESS for them. Also note this only sets TEMPORAL_BROADCAST_ADDRESS if it isn't already set and BIND_ON_IP=0.0.0.0 which is a known broken configuration anyway.