Last active
December 31, 2015 22:19
-
-
Save bdecarne/8052604 to your computer and use it in GitHub Desktop.
parameters.yml configuration during capifony deployment for Symfony2
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
set :application, "My App" | |
set :domain, "domain.com" | |
set :deploy_to, "/home/domain/www" | |
set :app_path, "app" | |
set :user, "deploy" | |
set :use_sudo, false | |
# default_run_options[:pty] = true | |
set :repository, "[email protected]:project" | |
set :scm, :git | |
set :branch, "master" | |
set :deploy_via, :remote_cache | |
set :scm_verbose, true | |
set :model_manager, "doctrine" | |
role :web, domain # Your HTTP server, Apache/etc | |
role :app, domain, :primary => true # This may be the same as your `Web` server | |
set :keep_releases, 3 | |
# symfony2 | |
set :shared_files, ["app/config/parameters.yml"] | |
set :shared_children, [app_path + "/logs", web_path + "/uploads", "vendor"] | |
set :use_composer, true | |
set :update_vendors, true | |
set :writable_dirs, ["app/cache", "app/logs"] | |
set :webserver_user, "www-data" | |
set :permission_method, :chown # :acl with https://help.ubuntu.com/community/FilePermissionsACLs | |
set :use_set_permissions, true | |
set :dump_assetic_assets, true | |
# Be more verbose by uncommenting the following line | |
# logger.level = Logger::MAX_LEVEL | |
# Enable app_dev.php | |
# set :clear_controllers, false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment