tap/config/deploy/production.rb

11 lines
300 B
Ruby
Raw Normal View History

2018-07-25 19:34:09 +00:00
server 'tap.zeus.gent', user: 'tap', roles: %w{web app db}, ssh_options: {
2014-11-25 09:00:55 +00:00
forward_agent: true,
auth_methods: ['publickey'],
port: 2222
}
set :rails_env, 'production'
2015-09-01 13:05:56 +00:00
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip
2018-07-26 15:22:34 +00:00
set :default_env, 'RAILS_RELATIVE_URL_ROOT' => '/'