fix(wallet-install): correct container port for bundle image#22
Merged
ajinkyasraj merged 2 commits intotrilitech:mainfrom May 4, 2026
Merged
Conversation
The tzel-wallet bundle image exposes nginx on :80, not the daemon directly on :8787. The script was mapping the host port to :8787 (daemon loopback inside the container) so the healthcheck always failed and the container appeared to not start. - HOST_PORT default: 8787 → 8080 - container port binding: :8787 → :80 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes the wallet installer’s port configuration to match the ghcr.io/trilitech/tzel-wallet bundle image’s externally exposed HTTP port (nginx on container port 80), so the installer’s healthcheck and user-facing URL work correctly.
Changes:
- Updates the default
TZEL_WALLET_HOST_PORTfrom8787to8080. - Fixes Docker port publishing to map the chosen host port to container port
80(nginx) instead of8787.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
HOST_PORTdefault:8787→8080:8787→:80The bundle image (
ghcr.io/trilitech/tzel-wallet) exposes nginx on port 80, which then reverse-proxies to the daemon on127.0.0.1:8787inside the container. The install script was mapping the host port directly to:8787(the daemon's loopback-only port), so the healthcheck athttp://127.0.0.1:<HOST_PORT>/healthzalways failed and the container appeared broken.Test plan
TZEL_SKIP_PULL=1 TZEL_WALLET_HOST_PORT=8081 sh docs/wallet-install.sh— container starts and healthz passescurl -sI http://127.0.0.1:8081/healthzreturns 200site-v*tag once merged🤖 Generated with Claude Code