Configurable Healthcheck Expose Port

This commit is contained in:
Krzysztof Adamski
2023-09-05 10:53:32 +02:00
parent 9363b6a464
commit bbcc90e4d1
3 changed files with 9 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ class Kamal::Configuration
def healthcheck
{ "path" => "/up", "port" => 3000, "max_attempts" => 7 }.merge(raw_config.healthcheck || {})
{ "path" => "/up", "port" => 3000, "max_attempts" => 7, "exposed_port" => 3999 }.merge(raw_config.healthcheck || {})
end
def readiness_delay