Skip to content

Make Caddy host port configurable - #102

Open
shrkz1 wants to merge 1 commit into
1.xfrom
codex/eramba-host-port-env
Open

Make Caddy host port configurable#102
shrkz1 wants to merge 1 commit into
1.xfrom
codex/eramba-host-port-env

Conversation

@shrkz1

Copy link
Copy Markdown
Member

Summary

  • add ERAMBA_HOST_PORT=8443 to the project .env
  • use it for the published side of the Caddy public_proxy port mapping while keeping the internal target fixed at 443
  • document its relationship with PUBLIC_ADDRESS and clarify that Apache ports.conf and the virtual host do not need changes
  • add a Compose contract test proving an override resolves to 9443:443

Why

Customers can select the Docker host port in .env without editing the tracked Compose file. PUBLIC_ADDRESS remains an independent external-origin setting because a reverse proxy or load balancer may expose a different public port. Caddy, Eramba, and MCP retain their fixed internal ports.

Validation

  • npx --no-install bats@1.12.0 tests/mcp-simple-install.bats (5/5 passed)
  • Community Compose configuration validated with the default port
  • Enterprise overlay validated with ERAMBA_HOST_PORT=9443
  • override resolved to 9443:443
  • git diff --check origin/1.x...HEAD

@shrkz1
shrkz1 marked this pull request as ready for review August 19, 2026 09:55
@shrkz1
shrkz1 marked this pull request as draft August 19, 2026 09:56
@shrkz1
shrkz1 marked this pull request as ready for review August 19, 2026 09:56
Sign up for freeto 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

@shrkz1