Class: Boxing::Commands::Compose
- Defined in:
- lib/boxing/commands/compose.rb
Overview
The Docker Compose Generator
Instance Method Summary collapse
-
#execute ⇒ Object
Create Dockerfile.
Methods inherited from Base
Instance Method Details
#execute ⇒ Object
Create Dockerfile
13 14 15 16 17 18 19 |
# File 'lib/boxing/commands/compose.rb', line 13 def execute Database.download! unless Database.exist? # TODO: Allow set image registry # TODO: Allow set application name template('templates/docker-compose.yml.tt', 'docker-compose.yml', context: context.to_binding) end |