Skip to content

Add healthcheck port configuration option#1750

Open
lucasmeijer wants to merge 1 commit intobasecamp:mainfrom
lucasmeijer:main
Open

Add healthcheck port configuration option#1750
lucasmeijer wants to merge 1 commit intobasecamp:mainfrom
lucasmeijer:main

Conversation

@lucasmeijer
Copy link
Copy Markdown

Allow healthchecks to use a different port than the main application port by adding a configurable port option under proxy.healthcheck.port.

When not specified, the healthcheck port is not set and kamal-proxy will use its default behavior. The port can be set to any valid port number (1-65535) and is passed to kamal-proxy via the --health-check-port parameter.

This is useful when applications expose health endpoints on a dedicated port separate from the main application port.

Allow healthchecks to use a different port than the main application port
by adding a configurable `port` option under `proxy.healthcheck.port`.

When not specified, the healthcheck port is not set and kamal-proxy will
use its default behavior. The port can be set to any valid port number
(1-65535) and is passed to kamal-proxy via the --health-check-port parameter.

This is useful when applications expose health endpoints on a dedicated
port separate from the main application port.
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
Kamal does not yet support healthcheck.port (basecamp/kamal#1750).
Remove the healthcheck block until that feature is available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/submission-mss that referenced this pull request Mar 18, 2026
Kamal does not yet support healthcheck.port (basecamp/kamal#1750).
Remove the healthcheck block until that feature is available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
kamal-proxy supports --health-check-port but Kamal does not yet
expose it in configuration (basecamp/kamal#1750). Patch bin/kamal
to pass healthcheck.port through to kamal-proxy, enabling health
checks on Garage's admin API port (3903) separately from the S3
API port (3900).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/submission-mss that referenced this pull request Mar 18, 2026
kamal-proxy supports --health-check-port but Kamal does not yet
expose it in configuration (basecamp/kamal#1750). Patch bin/kamal
to pass healthcheck.port through to kamal-proxy, enabling health
checks on Garage's admin API port (3903) separately from the S3
API port (3900).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
Use lucasmeijer/kamal@572ad8f3 which adds healthcheck.port
configuration (basecamp/kamal#1750). This allows Garage's admin
API port (3903) to be used for health checks while the S3 API
port (3900) serves traffic.

Replaces the previous monkey-patch approach in bin/kamal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/submission-mss that referenced this pull request Mar 18, 2026
Use lucasmeijer/kamal@572ad8f3 which adds healthcheck.port
configuration (basecamp/kamal#1750). This allows Garage's admin
API port (3903) to be used for health checks while the S3 API
port (3900) serves traffic.

Replaces the previous monkey-patch approach in bin/kamal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
Kamal does not yet support healthcheck.port (basecamp/kamal#1750).
Remove the healthcheck block until that feature is available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
kamal-proxy supports --health-check-port but Kamal does not yet
expose it in configuration (basecamp/kamal#1750). Patch bin/kamal
to pass healthcheck.port through to kamal-proxy, enabling health
checks on Garage's admin API port (3903) separately from the S3
API port (3900).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ursm added a commit to ddbj/ddbj-repository that referenced this pull request Mar 18, 2026
Use lucasmeijer/kamal@572ad8f3 which adds healthcheck.port
configuration (basecamp/kamal#1750). This allows Garage's admin
API port (3903) to be used for health checks while the S3 API
port (3900) serves traffic.

Replaces the previous monkey-patch approach in bin/kamal.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant