Sha256: a46c6f4aa016dfcd7919953585ba669d03afc1e5c9e58de7043b9daa0830cf72

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

set :application, "test_app"

ssh_options[:keys] = [ENV['KEY'], "#{ENV['HOME']}/.ssh/ec2-key"]

raise "please add HOST=ec2-xxx.xx... on the command line" unless ENV['HOST']
set :host, ENV['HOST']
role :web, host
role :db,  host, :primary => true

set :repository, "."
set :scm, :none
set :deploy_via, :copy

set :rails_env, "production"

# EC2 on Rails config
set :ec2onrails_config, {
  :packages => [],
  :rubygems => [],
  :timezone => "Canada/Eastern",
  :services_to_restart => %w(sysklogd)
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pauldowman-ec2onrails-0.9.10.0 test/test_app/config/deploy.rb