Documentation for multi-server deployment #211
-
Is there any documentation or a blog/tutorial anywhere that shows how to deploy good_job onto a dedicated server? I have questions in my head like...... Any help and advice appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @ianbradbury-bizzibody. Great questions! And thanks for being the first user of the Github Discussion. This is an new feature for me 😄
Yes. GoodJob is dependent on your entire Rails application stack. If you're creating a job-worker server, you would want to set it up exactly the same as your webservers (install your Rails applciation code, bundle gems, add environment variables, credentials, install binary dependencies like imagemagick). The only difference is that instead of running
Yes. Your Rails gemfile should include
As long as you've set your ActiveJob adapter to Let me know what further questions you have. I'll say that infrastructure/deployment is a tough subject because everyone's situation and preferences are a little different. |
Beta Was this translation helpful? Give feedback.
Hey @ianbradbury-bizzibody. Great questions! And thanks for being the first user of the Github Discussion. This is an new feature for me 😄
Yes. GoodJob is dependent on your entire Rails application stack. If you're creating a job-worker server, you would want to set it up exactly the same as your webservers (install your Rails applciation code, bundle gems, add environment variables, credentials, install binary dependencies like imagemagick). The only difference is that instead of running
bundle exec rails server
for the webserver. you'd have the main process bebundle exec good_job start