Sha256: f175bbf9d80364ab26cd5ca554ae80a344e7887a31eb0511ddfdb17b02dadcdd
Contents?: true
Size: 2 KB
Versions: 45
Compression:
Stored size: 2 KB
Contents
<!-- About Section --> <section id="about"> <div class="container"> <div class="row"> <div class="col-lg-6"> <h3>Commands</h3> <div class="commands"> {% highlight sh %} ufo ship ufo ps ufo current ufo apps ufo scale ufo docker build ufo tasks build ufo rollback ufo destroy {% endhighlight %} </div> </div> <div class="col-lg-6"> <h3>variables/base.rb</h3> <div class="commands"> {% highlight ruby %} @image = helper.full_image_name # includes the git sha tongueroo/demo-ufo:ufo-[sha]. @cpu = 128 @memory_reservation = 256 @environment = helper.env_vars(%Q{ RAILS_ENV=production SITE=awesome }) {% endhighlight %} </div> </div> </div> <div class="row"> <div class="col-lg-6"> <h3>templates/main.json.erb</h3> <div class="commands"> {% highlight json %} { "family": "<%= @family %>", "containerDefinitions": [ { "name": "<%= @name %>", "image": "<%= @image %>", <% if @cpu %> "cpu": <%= @cpu %>, <% end %> "command": <%= @command.to_json %>, <% if @environment %> "environment": <%= @environment.to_json %>, <% end %> "essential": true } ] } {% endhighlight %} </div> </div> <div class="col-lg-6"> <h3>template_definitions.rb</h3> <div class="commands"> {% highlight ruby %} task_definition "example-web" do source "main" variables( family: task_definition_name, name: "web", awslogs_group: "ecs/example-web", awslogs_stream_prefix: "example", command: ["bin/web"] ) end {% endhighlight %} </div> </div> </div> </div> </section>
Version data entries
45 entries across 45 versions & 1 rubygems