Class: Minke::Tasks::Run
Instance Method Summary collapse
Methods inherited from Task
#build_address, #copy_assets, #execute_rake_tasks, #initialize, #load_consul_data, #log, #run_command_in_container, #run_steps, #run_with_block, #wait_for_health_check
Constructor Details
This class inherits a constructor from Minke::Tasks::Task
Instance Method Details
#run(args = nil) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/minke/tasks/run.rb', line 5 def run args = nil puts "## Run application with docker compose" begin @compose.up run_with_block do @compose.logs end ensure @compose.down end end |