Replies: 2 comments 5 replies
-
I have same issue. Did you find a solution ? |
Beta Was this translation helpful? Give feedback.
5 replies
-
did you add this to your # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get "up" => "rails/health#show", as: :rails_health_check |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I have a perfectly fine working Dockerfile with production config for my app. I'm able to run it locally and everything seems to be fine with the image itself but once i use it with kamal, my healtcheck starts complaining without any helpfull output displayed.
All i can see is:
Because the
Log
is empty, i'm not really able to tell what's wrong with the container itself. All i was able to see was that, during the deployment, there is a container forweb
being created withirb
command (which is nothing i defined, my healthcheck command isbundle exec puma -C config/puma.rb
so not sure whereirb
is coming from?).Also, when running Dockerfile locally, i can see it produces output so i'm not sure why there is no output when kamal tries to run a healthcheck. Here is my
deploy.yml
file:Please let me know if there is anything i can do to help you help me or if there is anything obvious i'm missing in here? :)
Beta Was this translation helpful? Give feedback.
All reactions