Skip to content

Instantly share code, notes, and snippets.

@auser
Created August 7, 2008 04:01
Show Gist options
  • Save auser/4329 to your computer and use it in GitHub Desktop.
Save auser/4329 to your computer and use it in GitHub Desktop.
pool :poolpartyrb do
plugin_directory "plugins"
cloud :app do
# Configuration
configure { :maximum_instances => 1,:keypair => "name" }
minimum_instances 1
apache do
enable_php
virtual_host do
document_root "/www/domain1"
server_name "domain1.com"
end
virtual_host {
:document_root => "/www/domain2",
:server_name => "domain2.com"
}
end
end
end
## Reuse clouds
cloud :webserver do
...
end
pool :mynewapp do
cloud :webserver
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment