Module: Rumination::DockerCompose

Extended by:
Sh
Defined in:
lib/rumination/docker_compose.rb

Class Method Summary collapse

Class Method Details

.build(*args) ⇒ Object



8
9
10
11
# File 'lib/rumination/docker_compose.rb', line 8

def self.build *args
  sh "docker-compose build", *args
  self
end

.down(*args) ⇒ Object



13
14
15
16
# File 'lib/rumination/docker_compose.rb', line 13

def self.down *args
  sh "docker-compose down", *args
  self
end

.up(*args) ⇒ Object



18
19
20
21
# File 'lib/rumination/docker_compose.rb', line 18

def self.up *args
  sh "docker-compose up -d", *args
  self
end