Created
April 3, 2013 07:19
-
-
Save Brammm/5299083 to your computer and use it in GitHub Desktop.
Capifony example deploy script
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
#logger.level = Logger::MAX_LEVEL | |
#default_run_options[:pty] = true | |
set :application, "moovly" | |
set :stage, "staging" | |
set :branch, "develop" | |
set :domain, "#{stage}.#{application}.com" | |
set :deploy_to, "/var/www/html/sites/#{domain}" | |
set :app_path, "app" | |
set :scm, :git | |
set :repository, "git@dreamsandcreations.beanstalkapp.com:/smoovi-backoffice.git" | |
set :scm_passphrase, "" | |
set :model_manager, "doctrine" | |
role :web, "5.134.1.15" # Your HTTP server, Apache/etc | |
role :app, "5.134.1.15" # This may be the same as your `Web` server | |
role :db, "5.134.1.15", :primary => true # This is where Symfony2 migrations will run | |
set :keep_releases, 3 | |
set :ssh_options, { :forward_agent => true } | |
set :user, 'root' | |
set :pass, '*_zF4@-+2rgX' | |
server "5.134.1.15", :app, :web, :db, :primary => true | |
set :shared_files, ["app/config/parameters.yml"] | |
set :shared_children, [app_path + "/logs", web_path + "/upload", "vendor"] | |
set :use_composer, true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment