lib/gdk/services/registry.rb (20 lines of code) (raw):

# frozen_string_literal: true module GDK module Services class Registry < Base DIRECTORY = 'container-registry' def name 'registry' end def enabled? config.registry.enabled? end def command %(support/exec-cd #{DIRECTORY} bin/registry serve #{config_path}) end private def config_path config.gdk_root.join('registry', 'config.yml') end end end end