Sha256: 9c829cc868c896e2f5fe80bdef7338e2fa29ce7530e792837d2c16f67f036385

Contents?: true

Size: 849 Bytes

Versions: 3

Compression:

Stored size: 849 Bytes

Contents

<%= @code_name %>:
  ruby_version: <%= @ruby_version %>
  environment: <%= @environment %> # RAILS_ENV
  domains:
    <%- @domains.each do |domain| -%>
    <%- if domain.start_with?("*") -%>
    - "<%= domain %>"
    <%- else -%>
    - <%= domain %>
    <%- end -%>
    <%- end -%>
  servers:
    app1:
      size: <%= @size %>
      <%- if @thin -%>
      thin: <%= @thin %>
      <%- end -%>
      <%- if @puma -%>
      puma: <%= @puma %>
      <%- end -%>
      # delayed_job: 1
      # sidekiq: 1
      # clockwork: on
      # whenever: on
      # elasticsearch: on
      databases:
        <%- if @databases.present? -%>
        <%- @databases.each do |kind| -%>
        - <%= kind %>
        <%- end -%>
        <%- end -%>
        <%- (Shelly::App::DATABASE_KINDS - @databases).each do |kind| -%>
        # - <%= kind %>
        <%- end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shelly-0.5.7 lib/shelly/templates/Cloudfile.erb
shelly-0.5.6 lib/shelly/templates/Cloudfile.erb
shelly-0.5.5 lib/shelly/templates/Cloudfile.erb