Sha256: a32595fde37363a01542a21abcffcc42324c2954707401bf5e9363d19e25df7b

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

#TODO: change this to application name
set :application, 'application'

#TODO: change this to repository
set :repository, 'git@github.com:author/application.git'

# set :deploy_subdir, ''

set :default_stage, :vagrant

# Uses Brightbox Next Generation Ruby Packages
# http://wiki.brightbox.co.uk/docs:ruby-ng
# by default.
# Change to specific version in ruby-build format
# if exact version needed.
set :ruby_version, :brightbox
set :care_about_ruby_version, false

set :postgresql,
    version: '9.1',
    listen_all: false #TODO: changes this to `true` for TCP connectivity

set :monit,
    notify_email: 'admin@application.com', #TODO: change this to your email to receive monit alerts
    poll_period: 30

set :railsapp,
    server_names: '_' #TODO: change this to domain name(s) of the project

# For other options look into cookbooks/*/attributes/default.rb
# and other cookbook sources.

set :run_list, %w(
  recipe[monit]
  recipe[monit::ssh]
  recipe[postgresql]
  recipe[nginx]
  recipe[railsapp]
)
  
after 'deploy:restart', 'deploy:restart_unicorn'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mana-0.0.6 templates/config/deploy.rb
mana-0.0.5 templates/config/deploy.rb