Skip to content

Instantly share code, notes, and snippets.

@auser
Created November 13, 2008 15:54
Show Gist options
  • Save auser/24470 to your computer and use it in GitHub Desktop.
Save auser/24470 to your computer and use it in GitHub Desktop.
# Basic poolparty template
pool :clouds do
plugin_directory "#{File.dirname(__FILE__)}/plugins"
cloud :app do
instances 2..5
rails
mysql do
install
has_database(:name => "poolr_prod", :user => "poolr", :password => "p00lr")
end
has_deploydirectory(:from => "#{File.dirname(__FILE__)}/..", :name => "Rails app", :to => "/var/www/poolr.com")
apache do
has_passengersite do
name "poolr.com"
listen("8080")
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment