leizhiyuan opened a new pull request, #1197:
URL: https://github.com/apache/rocketmq-dashboard/pull/1197

   ## Summary
   - declare a `10.89.2.0/24` bridge subnet on the RocketMQ dev-cluster compose 
network so the pinned static IPs are accepted on Docker Engine
   - use Docker's embedded DNS (`127.0.0.11`) for the web nginx upstream 
resolver, falling back to the default gateway (podman) only when it is 
unreachable
   
   ## Why
   Two blockers prevented the documented local `docker compose` bootstrap from 
working on Docker Engine:
   - cluster `up` failed on the static-IP subnet validation
   - the web nginx `/api/` proxy returned 502 because the upstream resolver 
pointed at the (DNS-less) gateway IP, so the frontend could not verify login 
status
   
   ## Validation
   - `cd deploy/rocketmq && docker compose up -d` starts nameserver, 
broker-0/1, proxy, producer and consumer; `mqadmin clusterList` shows both 
brokers ACTIVATED
   - `curl -s http://127.0.0.1:6789/api/auth/status` returns 
`{"code":200,...,"loginRequired":false,"authenticated":false}` (200, no 502)
   - podman path preserved via the gateway fallback branch
   
   Closes #1196
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to