ruby-x.github.io/config/deploy/production.rb
2018-04-22 13:11:57 +03:00

9 lines
391 B
Ruby

# server-based syntax
# ======================
# Defines a single server with a list of roles and multiple properties.
# You can define all roles on a single server, or split them:
server 'ruby-x.org', user: 'rubydesign', roles: %w{app db web}
# server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
# server 'db.example.com', user: 'deploy', roles: %w{db}