         delete service.hostname
         delete service.net
         service.network_mode = "service:bb-net-#{serviceName}"
+
+        depends_on = composeLib.transformDependsOnToObject(service.depends_on) or {}
+        depends_on["bb-net-#{serviceName}"] = condition: 'service_healthy'
+        service.depends_on = depends_on
+
       else service.network_mode = "service:bb-net-#{service.labels['bigboat.service.name']}"
 
     resolvePath = (root, path) ->

          network_mode: 'none'
          labels: labels
          stop_signal: 'SIGKILL'
        if service.container_name
          netcontainer['container_name'] = "#{service.container_name}-net"


path      = require 'path'
resolvep  = require 'resolve-path'

composeLib = require './compose/lib.coffee'

module.exports = (config) ->
  vlan = if config.vlan then " @#{config.vlan}" else  ''
  networkValue = "#{config.host_if} -i eth0 @CONTAINER_NAME@ dhclient#{vlan}"

  augmentCompose: (instance, options, doc) ->
    addNetworkContainer = (serviceName, service) ->
