Skip to content

fix(wallet-install): correct container port for bundle image#22

Merged
ajinkyasraj merged 2 commits intotrilitech:mainfrom
devon-n:fix/wallet-install-bundle-port
May 4, 2026
Merged

fix(wallet-install): correct container port for bundle image#22
ajinkyasraj merged 2 commits intotrilitech:mainfrom
devon-n:fix/wallet-install-bundle-port

Conversation

@devon-n
Copy link
Copy Markdown
Contributor

@devon-n devon-n commented May 4, 2026

Summary

  • HOST_PORT default: 87878080
  • Container port binding: :8787:80

The bundle image (ghcr.io/trilitech/tzel-wallet) exposes nginx on port 80, which then reverse-proxies to the daemon on 127.0.0.1:8787 inside the container. The install script was mapping the host port directly to :8787 (the daemon's loopback-only port), so the healthcheck at http://127.0.0.1:<HOST_PORT>/healthz always 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 passes
  • curl -sI http://127.0.0.1:8081/healthz returns 200
  • Deploy to production via site-v* tag once merged

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_PORT from 8787 to 8080.
  • Fixes Docker port publishing to map the chosen host port to container port 80 (nginx) instead of 8787.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/wallet-install.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@ajinkyasraj ajinkyasraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajinkyasraj ajinkyasraj merged commit 23bef90 into trilitech:main May 4, 2026
3 checks passed
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.

3 participants