-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Best practice for deploying Rails projects with Thruster #12
Comments
I know you are awaiting an answer from the maintainers, but I was passing by 🙂 Thruster works best when paired with containers like Docker. Since it wraps Puma, you can use it as the If you dockerize your app, you can use any orcherstration tool to take care of scaling and similar concerns. There's a milestone in the Rails repo set for v8 that covers part of your questions: rails/rails#50479 |
@3v0k4 thanks |
In the meantime, with Rails 7.1, you can use dockerfile-rails: on your Rails project just |
@jmonteiro cool 🎉 |
If you'd like an example for a Dockerfile thruster deployment, I used it in my app United - https://codeberg.org/reesericci/united. There's a custom startup script in bin/, |
I read the README and found the descriptions to be very simple, leaving me with some questions. What are the best practices for deploying Rails projects with Thruster, just SSL_DOMAIN=example.com thrust rails server? How do we handle scaling and auto-restart issues, are there any examples to refer to?
The text was updated successfully, but these errors were encountered: