tab/config/deploy/production.rb

11 lines
303 B
Ruby
Raw Normal View History

2015-09-08 12:14:24 +00:00
server 'zeus.ugent.be', user: 'tab', roles: %w{web app db}, ssh_options: {
forward_agent: true,
auth_methods: ['publickey'],
port: 2222
}
set :rails_env, 'production'
set :rbenv_type, :system
set :rbenv_ruby, File.read('.ruby-version').strip
2015-09-11 16:30:41 +00:00
set :default_env, 'RAILS_RELATIVE_URL_ROOT' => '/tab'