Module: Rumination::DockerCompose
- Extended by:
- Sh
- Defined in:
- lib/rumination/docker_compose.rb,
lib/rumination/docker_compose/sh.rb,
lib/rumination/docker_compose/container.rb
Defined Under Namespace
Modules: Sh
Classes: Container
Class Method Summary
collapse
Methods included from Sh
sh
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
|