-
Notifications
You must be signed in to change notification settings - Fork 495
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
First web container is unhealthy on 5.xx.xxx.xx, not booting any other roles #987
Comments
I seem to be experiencing the exact same problem with kamal 2. I've tried with the
|
I think your error @deepakmahakale could be that you're not routing the traffic to port 3000. By default,
|
Thanks @kobaltz, this helped me greatly. Any idea why 80 is default port? |
In Rails 8.0.0.beta1 it looks like the Dockerfilr is using thruster which responds on 80. |
@janpeterka Port 80 is default because Kamal 2 assumes that you have Thruster inside of your container, not just plain Puma. Thruster runs on 80 by default. |
Wouldn't this be useful to mention in the migration section on the kamal site, as I can imagine there will be a lot of folks upgrading while using a Rails < 8 generated Dockerfile? |
Here is the PR that adds an example of port changing to the generated |
@deepakmahakale seems, this can be closed? |
Can't verify right now. Let's close now maybe I will reopen if needed. |
Thanks for the report. The docs have now been updated to note that you'll need to specify the app port - see https://kamal-deploy.org/docs/upgrading/configuration-changes/#healthchecks |
Solved my problem, thanks a lot. |
I am trying to upgrade kamal to 2.0
Did the necessary changes and ran
kamal upgrade
The text was updated successfully, but these errors were encountered: