tab/config/deploy/production.rb

11 lines
300 B
Ruby
Raw Normal View History

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