Commit Graph

3 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
s1d3sw1ped_bot 22844a2a67 Persist a per-install JWT signing secret instead of a compiled-in default.
Format / gofmt (push) Successful in 8s
Format / gofmt (pull_request) Successful in 9s
CI / Build (push) Successful in 24s
CI / Build (pull_request) Successful in 25s
CI / Go Tests (pull_request) Successful in 39s
CI / Go Tests (push) Successful in 40s
Admin tokens were forgeable whenever JWT_SECRET was unset. Prefer the env var, otherwise write a random key to data/.jwt_secret.
2026-08-31 23:55:34 +00:00
s1d3sw1ped 1cc94f2c99 initial commit
Format / gofmt (push) Failing after 27s
CI / Build (push) Successful in 51s
CI / Go Tests (push) Failing after 21s
2026-06-06 07:54:44 -05:00