#9992: Docker: Fixed port mapping so ports publish when not stated
docs
docker
stale
Cluster:
Docker and Deployment Improvements
On Windows (and when compose runs without the setup script’s env or a complete `.env`), the gateway and bridge ports weren’t published. Using fixed `18789:18789` and `18790:18790` ensures they’re always mapped. Also added a “Can’t reach the dashboard” troubleshooting section to the Docker install docs.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates the Docker Compose setup to always publish the gateway and bridge ports by hard-coding host mappings to `18789:18789` and `18790:18790`, addressing cases where `.env` is missing/empty (notably on Windows). It also adds a new “Can’t reach the dashboard” troubleshooting section to the Docker install docs, with steps to verify the container is running, confirm the URL, validate port mapping, run a health check, and re-run onboarding.
<h3>Confidence Score: 4/5</h3>
- Mostly safe to merge, but docs/config semantics need alignment.
- Changes are small and localized, but hard-coding ports changes expected behavior (env-based overrides) and the new docs currently describe an override mechanism that no longer works with the compose file as changed.
- docker-compose.yml, docs/install/docker.md
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#8050: fix: docker hardening
by christopherbarnett96 · 2026-02-03
85.4%
#12504: fix: allow docker cli container to connect to gateway
by bvanderdrift · 2026-02-09
82.0%
#13953: feat(docker): add .env template and improve Dockerfile
by n24q02m · 2026-02-11
81.8%
#3965: Fix Docker Compose configuration for moltbot deployment
by YoByron · 2026-01-29
80.9%
#9999: Docker: fix token mismatch and add dev setup workflow
by benclarkeio · 2026-02-06
80.4%
#9881: chore(compose): harden gateway (localhost ports, limits, logging, h...
by tiagoderossi · 2026-02-05
80.3%
#13950: fix(docker): add browser sidecar service and health checks
by n24q02m · 2026-02-11
80.3%
#17506: Fix Entrypoint in docker-compose
by NeilSCGH · 2026-02-15
79.6%
#7342: fix(docker): ensure readability of docker-setup.sh
by esc-ouni · 2026-02-02
79.5%
#7133: feat: Automated Docker setup with environment-based configuration
by synetalsolutions · 2026-02-02
79.3%