tab/config/deploy/production.rb

11 lines
303 B
Ruby
Raw Normal View History

2015-09-08 14:14:24 +02: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 18:30:41 +02:00
set :default_env, 'RAILS_RELATIVE_URL_ROOT' => '/tab'