Skip to content

fix(server): separate compose host port overrides from runtime ports#137

Merged
lan17 merged 1 commit intomainfrom
fix/host-port-overrides
Mar 19, 2026
Merged

fix(server): separate compose host port overrides from runtime ports#137
lan17 merged 1 commit intomainfrom
fix/host-port-overrides

Conversation

@lan17
Copy link
Contributor

@lan17 lan17 commented Mar 19, 2026

Summary

  • split Docker host port overrides onto dedicated compose env vars
  • keep the server container listening on port 8000 internally
  • align make server-run and docs with the separated host-port behavior

Verification

  • AGENT_CONTROL_SERVER_HOST_PORT=18000 AGENT_CONTROL_DB_HOST_PORT=15432 docker compose -f docker-compose.yml config
  • AGENT_CONTROL_DB_HOST_PORT=15432 docker compose -f docker-compose.dev.yml config
  • make -C server -n run AGENT_CONTROL_HOST=127.0.0.1 AGENT_CONTROL_PORT=18000 AGENT_CONTROL_DB_PORT=15432

Tests

  • not run (compose/make/docs change only)

@lan17 lan17 changed the title fix: separate compose host port overrides from runtime ports fix(server): separate compose host port overrides from runtime ports Mar 19, 2026
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@lan17 lan17 merged commit da05f98 into main Mar 19, 2026
6 of 7 checks passed
@lan17 lan17 deleted the fix/host-port-overrides branch March 19, 2026 23:35
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.

2 participants