You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2026/06/08 13:13:03 UTC
[PR] Fix docker-compose quickstart for Horizon UI and OAP healthcheck [skywalking]
wu-sheng opened a new pull request, #13899:
URL: https://github.com/apache/skywalking/pull/13899
### Fix docker-compose quickstart issues reported in #13896
The docker-compose quickstart had three problems that surfaced when a user tried the Horizon UI with a mounted `horizon.yaml`:
1. **OAP healthcheck used `curl`**, which isn't present in the `eclipse-temurin` JRE image — the healthcheck never ran. Replaced with bash's built-in `/dev/tcp` port probe (no extra binary), and widened `start_period` to `90s` so BanyanDB schema install during boot doesn't consume the retry budget.
2. **Horizon UI port mapping was wrong** — Horizon listens on `8081` inside the container, but compose mapped `8080:8080`. Fixed to `8080:8081`.
3. **Horizon backend wiring used non-existent env vars** (`SW_OAP_ADDRESS` / `SW_ADMIN_ADDRESS` / `SW_ZIPKIN_ADDRESS`). The image reads OAP URLs and login users **only** from its config file. Now mounts a new `docker/horizon.yaml` with `server.host: 0.0.0.0` (the upstream example ships `127.0.0.1`, which binds container-loopback only and 503s from the host — the original report), OAP query/admin/zipkin URLs pointed at the compose `oap` service, and a demo `admin`/`admin` local login.
- [x] Explain briefly why the bug exists and how to fix it.
- [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #13896.
- [x] Update the [`CHANGES` log](https://github.com/apache/skywalking/blob/master/docs/en/changes/changes.md).
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix docker-compose quickstart for Horizon UI and OAP healthcheck [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng merged PR #13899:
URL: https://github.com/apache/skywalking/pull/13899
--
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: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org