Skip to content

Commit

Permalink
Adds db app postgres roles to virtualbox deploy script to force datab…
Browse files Browse the repository at this point in the history
…ase setup.
  • Loading branch information
Tom Atwell committed Nov 1, 2017
1 parent f7c42f2 commit 5c8c404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/deploy/virtualbox.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# cap virtualbox deploy
#
# Roles are where the various servers live
server "localhost", user: "deploy", roles: %w{web}, port: 2222
server "localhost", user: "deploy", roles: %w{app db web postgres}, port: 2222

# Rbenv is under user.
set :rbenv_type, :user
Expand All @@ -23,4 +23,4 @@ def current_git_branch
end

# Set the deploy branch to the current branch
set :branch, current_git_branch
set :branch, current_git_branch

0 comments on commit 5c8c404

Please sign in to comment.