]>
Commit | Line | Data |
---|---|---|
ceb79aa0 | 1 | # config valid only for current version of Capistrano |
28a5ee6f | 2 | |
ceb79aa0 NL |
3 | set :application, 'wallabag' |
4 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | |
5 | ||
1210dae1 NL |
6 | set :ssh_user, 'framasoft_bag' |
7 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | |
ceb79aa0 | 8 | |
ceb79aa0 NL |
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} | |
28a5ee6f | 16 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] |
ceb79aa0 NL |
17 | set :keep_releases, 3 |
18 | ||
c4b3933b | 19 | after 'deploy:updated', 'symfony:cache:clear' |