How deploy app on out own VDS without development mode? #492
Replies: 2 comments 1 reply
-
Ah, I haven’t yet dug into creating a deploy process for any VDS. This issue #161 is where I was tracking it and one other person was going to work on that, using Kamal, since it provides a nice set of rails for it. Maybe chime in on that issue with any specific considerations that are important to you. It’s good for us to know we’re covering our basis. If logging is your only concern, you could just add RAILS_ENV=production as another env file. However, I suspect there are other tweaks that are needed besides just that. While we continue to work through deploying to any VDS, I do have it set up to deploy easily to Render, Fly, and Heroku. Those are al pretty well tested. |
Beta Was this translation helpful? Give feedback.
-
I always consider docker-compose to be only there for development. I have this project run on my VDS as a Rails standalone app. You can go all-in with apache and passenger, but I am simply having a tmux session running with:
And I use my Nginx simply as a proxy to it:
Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
How to deploy the application on our own server in a production environment? Otherwise, there is too much debugging and logging. Currently, the docker-compose specifies "target: development".
Beta Was this translation helpful? Give feedback.
All reactions