```ruby
set :port,    2222
set :git_shallow_clone, 1

role :web, 'localhost'
role :app, 'localhost'
role :db,  'localhost', :primary => true
```

Use staging env when deploying to Vagrant.
user
```ruby
set :port,    2222
set :git_shallow_clone, 1
set :rails_env, :staging

role :web, 'localhost'
role :app, 'localhost'
role :db,  'localhost', :primary => true
```
assistant