           network_mode: 'none'
           labels: labels
           stop_signal: 'SIGKILL'
+          healthcheck:
+            test: "ifconfig eth0 | grep 'inet addr:'"
+            interval: '1s'
+            timeout: '5s'
+            retries: 60
+
         if service.container_name
           netcontainer['container_name'] = "#{service.container_name}-net"
 

        delete service.hostname
        delete service.net
        service.network_mode = "service:bb-net-#{serviceName}"
      else service.network_mode = "service:bb-net-#{service.labels['bigboat.service.name']}"

    resolvePath = (root, path) ->

        service.volumes.push '/var/run/docker.sock:/var/run/docker.sock'

    for serviceName, service of doc.services
      migrateLinksToDependsOn serviceName, service
      addExtraLabels serviceName, service
      addNetworkContainer serviceName, service
      addVolumeMapping serviceName, service
      addDockerMapping serviceName, service
      migrateLogging serviceName, service
      restrictCompose serviceName, service

