]>
Commit | Line | Data |
---|---|---|
ceb79aa0 NL |
1 | # config valid only for current version of Capistrano |
2 | lock '3.4.0' | |
3 | ||
28a5ee6f NL |
4 | set :log_path, "var/logs" |
5 | set :cache_path, "var/cache" | |
6 | set :symfony_console_path, 'bin/console' | |
7 | ||
ceb79aa0 NL |
8 | set :application, 'wallabag' |
9 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | |
10 | ||
1210dae1 NL |
11 | set :ssh_user, 'framasoft_bag' |
12 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | |
ceb79aa0 NL |
13 | |
14 | set :scm, :git | |
15 | ||
16 | set :format, :pretty | |
17 | set :log_level, :info | |
18 | # set :log_level, :debug | |
19 | ||
20 | set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' | |
21 | ||
22 | set :linked_files, %w{app/config/parameters.yml} | |
28a5ee6f | 23 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] |
ceb79aa0 NL |
24 | set :keep_releases, 3 |
25 | ||
26 | after 'deploy:finishing', 'deploy:cleanup' |