Sha256: e0fa5ac361d22c0847a811c208760e93fedf3695179bb281015dd2d7306c2dec
Contents?: true
Size: 637 Bytes
Versions: 11
Compression:
Stored size: 637 Bytes
Contents
module Minke module Tasks class Run < Task def run args = nil @logger.info "## Run application with docker compose" compose_file = @config.compose_file_for(@task_name) compose_file = File.expand_path(compose_file) compose = @docker_compose_factory.create compose_file unless compose_file == nil run_with_block do begin compose.up compose.logs rescue SystemExit, Interrupt @logger.info "Stopping...." raise SystemExit ensure compose.down end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems