Skip to content

Instantly share code, notes, and snippets.

@florentdestremau
Created June 10, 2015 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florentdestremau/6af2b904f6f384a0fd11 to your computer and use it in GitHub Desktop.
Save florentdestremau/6af2b904f6f384a0fd11 to your computer and use it in GitHub Desktop.
Simple basic capifony config for a symfony app
set :application, "auxiliaris"
set :domain, "#{application}.flodz.ovh"
set :deploy_to, "/var/www/#{domain}"
set :app_path, "app"
set :user, "root"
ssh_options[:forward_agent] = true
set :repository, "git@github.com:florentdestremau/#{application}.git"
set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `subversion`, `mercurial`, `perforce`, or `none`
set :model_manager, "doctrine"
# Or: `propel`
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
# Be more verbose by uncommenting the following line
logger.level = Logger::MAX_LEVEL
set :dump_assetic_assets, true
set :writable_dirs, ["app/cache", "app/logs"]
set :webserver_user, "www-data"
set :permission_method, :acl
set :use_set_permissions, true
set :use_composer, true
set :shared_files, ["app/config/parameters.yml"]
set :shared_children, [app_path + "/logs", web_path + "/uploads", "vendor"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment