0.37.0
This commit is contained in:
1 parent
6b59434ffa
commit
78dbb31487
8 files changed
+28
-24
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ Optional quick-health tiles (since 0.35.2, hidden by default; enable them in the
|
||||
|
||||
Enabled tiles are added at the end of the Overview, so the standard block layout does not change.
|
||||
|
||||
Optional Docker cards (since 0.37.0, hidden by default): **Docker agents**, **Docker apps**, **Docker app requests**, **Docker hosts network**, **Docker hosts load** and **Containers**. They summarize agent connectivity, published Docker vhost health and traffic, and the host diagnostics reported by Docker/Podman agents 1.1.0+; With several agents each card can show all agents or one selected agent; see [Docker discovery](DOCKER_DISCOVERY.md#overview-cards).
|
||||
Optional Docker cards (since 0.37.0, hidden by default): **Docker agents**, **Docker apps**, **Docker app requests**, **Docker hosts network**, **Docker hosts load** and **Containers**. They summarize agent connectivity, published Docker vhost health and traffic, and the host diagnostics reported by Docker/Podman agents 0.37.0+; With several agents each card can show all agents or one selected agent; see [Docker discovery](DOCKER_DISCOVERY.md#overview-cards).
|
||||
|
||||
In the **Backends** table with **Table density: Ultra compact**, the backend name line under each vhost is hidden to save space; hover the vhost name (dotted underline) to see the vhost and backend names in a tooltip.
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ Go 1.22+ is required only for the manual build, not for a DEB/RPM installation.
|
||||
### Connect to RustProxy
|
||||
|
||||
1. Allow port `9876` **only from the RustProxy server** in the Docker-host firewall. The default example listens on `0.0.0.0:9876`.
|
||||
2. On the Docker host run `sudo rustproxy-docker-agent provision-code` (agent 1.1.0+). It prints one `RPDA1-…` code with the HTTPS endpoint, the Bearer token and the certificate SHA-256 fingerprint. The code **contains the secret token**; paste it only into the panel. Use `--endpoint-host` to put a different host/IP in the code.
|
||||
2. On the Docker host run `sudo rustproxy-docker-agent provision-code` (agent 0.37.0+). It prints one `RPDA1-…` code with the HTTPS endpoint, the Bearer token and the certificate SHA-256 fingerprint. The code **contains the secret token**; paste it only into the panel. Use `--endpoint-host` to put a different host/IP in the code.
|
||||
3. In **Settings → Docker agents** press **Paste provisioning code** (or open **Provisioning code** in an existing agent to update a rotated token) and paste it. The panel fills in the name, the agent ID (generated from the name like Vhost IDs, editable until saved), endpoint, token and fingerprint. Older agents: enter endpoint, token and fingerprint manually.
|
||||
4. Assign **Domains** (at least one; the first, marked ★, is the master domain for new Docker vhosts — click ★ on another domain to make it the master), choose **Certificates** (*Automatic* or a list of certificates), the listener IDs and optional ACL profiles and **Default backend IP**, then save.
|
||||
5. Use **Docker vhosts → Refresh agents** and check that discovery succeeds before publishing.
|
||||
@@ -61,7 +61,7 @@ The agent default backend IP is chosen from the **addresses the agent detected**
|
||||
|
||||
### Host diagnostics
|
||||
|
||||
Agents 1.1.0+ report host data when RustProxy 0.37.0+ asks for it: OS and kernel, architecture, Docker/Podman runtime and version, uptime, load average, CPU usage, memory, swap, disk usage of the container data directory, host network totals and current rates (container/virtual interfaces excluded) and running/total container and image counts. They are shown in **Docker vhosts → Agent details → Host system** and in a compact strip in **Settings → Docker agents**. Values an agent does not send are not shown; older agents show none. Disable reporting on the agent with `RUSTPROXY_DOCKER_SYSTEM_INFO=false`.
|
||||
Agents 0.37.0+ report host data when RustProxy 0.37.0+ asks for it: OS and kernel, architecture, Docker/Podman runtime and version, uptime, load average, CPU usage, memory, swap, disk usage of the container data directory, host network totals and current rates (container/virtual interfaces excluded) and running/total container and image counts. They are shown in **Docker vhosts → Agent details → Host system** and in a compact strip in **Settings → Docker agents**. Values an agent does not send are not shown; older agents show none. Disable reporting on the agent with `RUSTPROXY_DOCKER_SYSTEM_INFO=false`.
|
||||
|
||||
### Alerts
|
||||
|
||||
@@ -86,11 +86,11 @@ services:
|
||||
rustproxy.force_ssl: "true"
|
||||
```
|
||||
|
||||
Also supported: `rustproxy.websockets`, `rustproxy.cache`, `rustproxy.compression` and `rustproxy.preserve_host` (`true`/`false`). Labels never leave the agent domains, never take a name already used by a vhost, redirect, 404 host or another Docker service and never override a manual setting for the same service. Invalid labels produce a **LABEL ERROR** badge and an alert instead of a vhost. Label publications use the agent defaults (listeners, certificates, ACL profiles, default backend IP). To customise one, open it and press **Apply changes** (it becomes a manual setting); switching **Publish** off stores a disabled manual override. Labels are read only from agents 1.1.0+. The option is off by default because anyone who can start containers on that host can then publish names inside the agent domains.
|
||||
Also supported: `rustproxy.websockets`, `rustproxy.cache`, `rustproxy.compression` and `rustproxy.preserve_host` (`true`/`false`). Labels never leave the agent domains, never take a name already used by a vhost, redirect, 404 host or another Docker service and never override a manual setting for the same service. Invalid labels produce a **LABEL ERROR** badge and an alert instead of a vhost. Label publications use the agent defaults (listeners, certificates, ACL profiles, default backend IP). To customise one, open it and press **Apply changes** (it becomes a manual setting); switching **Publish** off stores a disabled manual override. Labels are read only from agents 0.37.0+. The option is off by default because anyone who can start containers on that host can then publish names inside the agent domains.
|
||||
|
||||
### Container state and history
|
||||
|
||||
Agents 1.1.0+ report per published container its state and health check, CPU usage, memory (without page cache) with its limit and restart count; the service row shows them and Prometheus exports `rust_proxy_docker_container_*`. Containers whose image defines no `HEALTHCHECK` are shown as *no health check* (`health: "none"`) and are judged only by their state (running is fine; restarting, exited or dead raise an alert). The small CPU, memory, load and network charts in **Agent details** are sampled in the browser from the agent polls while the page is open, like the other panel charts; RustProxy does not store history.
|
||||
Agents 0.37.0+ report per published container its state and health check, CPU usage, memory (without page cache) with its limit and restart count; the service row shows them and Prometheus exports `rust_proxy_docker_container_*`. Containers whose image defines no `HEALTHCHECK` are shown as *no health check* (`health: "none"`) and are judged only by their state (running is fine; restarting, exited or dead raise an alert). The small CPU, memory, load and network charts in **Agent details** are sampled in the browser from the agent polls while the page is open, like the other panel charts; RustProxy does not store history.
|
||||
|
||||
### Test connection and one-time codes
|
||||
|
||||
@@ -161,8 +161,8 @@ The Docker request-rate chart uses the **same adaptive Y range as ordinary Vhost
|
||||
- **Agent error:** verify firewall, TLS fingerprint/CA, bearer token, service state, advertised host and TCP route.
|
||||
- **503 generated Vhost:** verify running container, published TCP port, selected IP/bind address, backend protocol and health check.
|
||||
- **Wrong application hostname:** check the master domain, alias expansion, DNS and conflicting ordinary Vhosts.
|
||||
- **Invalid provisioning code:** copy the whole `RPDA1-…` line; codes from agents older than 1.1.0 do not exist — enter the values manually.
|
||||
- **No host diagnostics:** the agent is older than 1.1.0, `RUSTPROXY_DOCKER_SYSTEM_INFO=false` is set, or the value cannot be read on that host.
|
||||
- **Invalid provisioning code:** copy the whole `RPDA1-…` line; codes from agents older than 0.37.0 do not exist — enter the values manually.
|
||||
- **No host diagnostics:** the agent is older than 0.37.0, `RUSTPROXY_DOCKER_SYSTEM_INFO=false` is set, or the value cannot be read on that host.
|
||||
- **Docker service not listed:** agent reports only eligible running containers with published non-loopback TCP bindings.
|
||||
|
||||
For agent operations and its security model see `docker-agent/README.md`. For normal routing, health and cache controls see [Vhosts](VHOSTS.md) and [Cache](CACHE.md).
|
||||
Reference in new issue
Block a user