lib/dockistrano/service_dependency.rb
# Creates a new service instance based on the name and configuration. When
# configuration is not local, the configuration is fetched from Github and
# processed.
# In some cases, you only need an uninitialized version of a dependency, for
# example when pulling new versions of images. Provide initialize=false to
# skip tag detection and configuration loading from the image.
Creates a new service instance based on the name and configuration. When
configuration is not local, the configuration is fetched from Github and
processed.
In some cases, you only need an uninitialized version of a dependency, for
example when pulling new versions of images. Provide initialize=false to
skip tag detection and configuration loading from the image.
Creates a new service instance based on the name and configuration . When configuration is not local the configuration is fetched from Github and processed . In some cases you only need an uninitialized version of a dependency for example when pulling new versions of images . Provide initialize = false to skip tag detection and configuration loading from the image .
def backing_service
      @backing_service ||= Service.new("default" => {
        "registry"    => service.registry,
        "image_name"  => name,
        "tag"         => service.tag,
        "backing_service_env" =>  config
      })
    end
def backing_service @backing_service ||= Service . new ( "default" => { "registry" => service . registry , "image_name" => name , "tag" => service . tag , "backing_service_env" => config } ) end
Creates a new service instance based on the name and configuration.
Creates a new service instance based on the name and configuration .