tab/config/deploy/production.rb
2018-07-25 16:36:59 +02:00

11 lines
300 B
Ruby

server 'tab.zeus.gent', 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
set :default_env, 'RAILS_RELATIVE_URL_ROOT' => '/'