]> git.immae.eu Git - github/wallabag/wallabag.git/blob - app/config/capistrano/deploy.rb
Updated Capistrano configuration
[github/wallabag/wallabag.git] / app / config / capistrano / deploy.rb
1 # config valid only for current version of Capistrano
2
3 set :application, 'wallabag'
4 set :repo_url, 'git@github.com:wallabag/wallabag.git'
5
6 set :ssh_user, 'framasoft_bag'
7 server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db}
8
9 set :format, :pretty
10 set :log_level, :info
11 # set :log_level, :debug
12
13 set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader'
14
15 set :linked_files, %w{app/config/parameters.yml}
16 set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"]
17 set :keep_releases, 3
18
19 after 'deploy:updated', 'symfony:cache:clear'