Repository navigation
Immutable
release. Only release title and notes can be modified.
Added
- Serving under a path. Docker Commander can now run behind a reverse proxy at
a path of a shared host, e.g.https://example.com/dockercmd/, not only at the
root of its own (sub)domain. It reads the prefix fromX-Forwarded-Prefix
(DC_FORWARDED_PREFIX=0ignores the header) or from the newDC_BASE_PATH.
The page, assets, API and WebSockets all stay under it. - OAuth MCP connectors under a path. Set
DC_MCP_PUBLIC_URLto the URL with
the path. Docker Commander then answers OAuth discovery at the root of the host,
where clients look for it (/.well-known/oauth-authorization-server/dockercmd);
the proxy has to route those paths to it. A proxy that forwards only the path
still works with clients that try OpenID Connect discovery under it.
DC_MCP_PUBLIC_URLis now checked at startup: it has to be anhttp(s)URL
with a host and a plain path, or the server won't start.
See Deployment.
Changed
- Settings are checked at startup. A value that doesn't parse used to fall
back to its default without a word, soDC_SELF_UPDATE=falseleft self-update
enabled andDC_METRICS_RETENTION=1dkept 6 hours. Such a value now stops the
server with an error naming the setting, unless a command-line flag overrides
it. On/off settings accept1/0,true/false,yes/noandon/off.
DC_ACME_DIRECTORY_URLmust be an https URL.
See Deployment. - An unknown
DC_…key in the config file (usually a typo) and a line that isn't
KEY=VALUEare logged as warnings at startup. - Routine Go, npm and GitHub Actions dependency updates (minor/patch, plus
happy-dom21 for the frontend tests).@codemirror/languageis now a direct
dependency at 6.13, which@codemirror/legacy-modes6.5.5 requires.
Security
- Webhook URLs and header values are no longer shown. The webhook list
returned them to anyone who could read Alerts, the built-in Viewer role
included, andwebhook.createwrote the URL into the audit log. The list now
shows the name, method, host and header names only. Audit records keep just
the host, and records written before are cleaned up on the next start. - Only an admin can add or delete a webhook. A webhook picks where the server
sends requests, and the first bytes of the reply are stored on the alert. With
write access to Alerts it could reach internal services and read their answers.
Anyone with Alerts can still attach an existing webhook to a rule. - Behind a path prefix, the session cookie is scoped to that path, so other apps
on the same host don't receive it. - A request carrying
X-Forwarded-Prefixcounts as proxied, so it no longer
qualifies for the localhost 2FA exemption.
Full changelog: https://github.com/koduj-dev/docker-commander/blob/v1.7.2/CHANGELOG.md