lib/minke/tasks/task.rb in minke-1.8.0 vs lib/minke/tasks/task.rb in minke-1.8.1
- old
+ new
@@ -86,10 +86,10 @@
def build_address url
if url.type == 'external'
"#{url.protocol}://#{url.address}:#{url.port}#{url.path}"
elsif url.type == 'bridge'
- address = @service_discovery.bridge_address_for url.address, url.port
+ address = @service_discovery.bridge_address_for ENV['DOCKER_NETWORK'], url.address, url.port
"#{url.protocol}://#{address}#{url.path}"
elsif url.type == 'public'
address = @service_discovery.public_address_for url.address, url.port
# if running on docker for mac we need to replace the ip address with the docker hosts