]>
Commit | Line | Data |
---|---|---|
1 | # config valid only for current version of Capistrano | |
2 | lock '3.4.0' | |
3 | ||
4 | set :log_path, "var/logs" | |
5 | set :cache_path, "var/cache" | |
6 | set :symfony_console_path, 'bin/console' | |
7 | ||
8 | set :application, 'wallabag' | |
9 | set :repo_url, 'git@github.com:wallabag/wallabag.git' | |
10 | ||
11 | set :ssh_user, 'framasoft_bag' | |
12 | server '78.46.248.87', user: fetch(:ssh_user), roles: %w{web app db} | |
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} | |
23 | set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] | |
24 | set :keep_releases, 3 | |
25 | ||
26 | after 'deploy:finishing', 'deploy:cleanup' |