Skip to content

Commit

Permalink
Merge pull request #936 from pod4lib/deploy-workers
Browse files Browse the repository at this point in the history
Configure prod deploy to have worker machines
  • Loading branch information
corylown authored Jan 18, 2023
2 parents fca4e3b + 4ccc61c commit f468d15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/deploy/prod.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
server 'pod.stanford.edu', user: 'pod', roles: %w(web db app background)
server 'pod.stanford.edu', user: 'pod', roles: %w(web db app background) # remove background here when we switch to the pod-redis-prod-a
server 'pod-worker-prod-a.stanford.edu', user: 'pod', roles: %w(background)
server 'pod-worker-prod-b.stanford.edu', user: 'pod', roles: %w(background)

Capistrano::OneTimeKey.generate_one_time_key!
set :rails_env, 'production'
Expand Down

0 comments on commit f468d15

Please sign in to comment.