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