2015-08-14 19:26:14 +00:00
|
|
|
# config valid only for current version of Capistrano
|
2016-02-17 14:02:50 +00:00
|
|
|
|
2015-08-14 19:26:14 +00:00
|
|
|
set :application, 'wallabag'
|
|
|
|
set :repo_url, 'git@github.com:wallabag/wallabag.git'
|
|
|
|
|
2015-10-02 12:51:41 +00:00
|
|
|
set :ssh_user, 'framasoft_bag'
|
|
|
|
server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db}
|
2015-08-14 19:26:14 +00:00
|
|
|
|
|
|
|
set :format, :pretty
|
|
|
|
set :log_level, :info
|
|
|
|
# set :log_level, :debug
|
|
|
|
|
|
|
|
set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
|
|
|
|
|
|
|
|
set :linked_files, %w{app/config/parameters.yml}
|
2016-02-17 14:02:50 +00:00
|
|
|
set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
|
2015-08-14 19:26:14 +00:00
|
|
|
set :keep_releases, 3
|
|
|
|
|
2016-10-29 12:14:20 +00:00
|
|
|
after 'deploy:updated', 'symfony:cache:clear'
|