Created
November 13, 2008 15:54
-
-
Save auser/24470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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