-
-
Save deadprogram/4333 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
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