Skip to content
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

Healthcheck bypass #1083

Open
Towerthousand opened this issue Oct 8, 2024 · 3 comments
Open

Healthcheck bypass #1083

Towerthousand opened this issue Oct 8, 2024 · 3 comments

Comments

@Towerthousand
Copy link

I want to deploy an app that is not a webserver, with Kamal. There's only one thing preventing me from doing this: I need to respond to the healthcheck for the deployment to go through (I'm deploying with a proxy).

Is there any way to deploy without a healthcheck involved?

@KRSMHDK
Copy link

KRSMHDK commented Oct 8, 2024

#719 (reply in thread)

healthcheck:
cmd: true

try this

@krasylnikov
Copy link

#719 (reply in thread)

healthcheck:
cmd: true

try this

It fails on kamal setup with error:
ERROR (Kamal::ConfigurationError): proxy/healthcheck: unknown key: cmd

@BarnabeD
Copy link

BarnabeD commented Oct 9, 2024

@Towerthousand, @krasylnikov :
I don't think you can bypass. But you can use Docker's healthcheck, or simply add a non-https route which responds 200

You should find more information in this issue : #1041 (comment)
We have discussions about helathcheck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants