docker: Align compose healthcheck with admin port #11

Merged
Ghost merged 1 commits from ash/docker-align-compose-ports into develop 2026-09-02 11:31:39 -05:00

1 Commits

Author SHA1 Message Date
Ash 06d47e5f07 docker: Align compose healthcheck with admin port
Format / gofmt (push) Successful in 18s
Format / gofmt (pull_request) Successful in 19s
CI / Build (push) Successful in 27s
CI / Build (pull_request) Successful in 29s
CI / Go Tests (push) Successful in 1m1s
CI / Go Tests (pull_request) Successful in 1m3s
The compose healthcheck probes http://127.0.0.1:81/api, but the binary
defaults ADMIN_PORT to 8081, so a stock compose up never becomes healthy.

Set ADMIN_PORT, PROXY_HTTP_PORT, and PROXY_HTTPS_PORT in compose so the
process listens on the Dockerfile EXPOSE ports. Document real binary
defaults in the README and keep the Docker section on 80/81/443 via env.

Link: #10
2026-09-02 16:27:42 +00:00