swarm-ui: build authelia/grafana/metrics/logs links from swarm domains
The swarm-controller module builds the Authelia, Grafana, Metrics and Logs quick links from services.hyperhive.swarm.<service>.domain, on the controller's host, instead of each service module adding its entry only on the host that runs it. A controller whose swarm runs those services on other hosts lists them in its /api/links popover. Forge, matrix and bao links are not moved yet: forge waits on #4891, matrix and bao on whether their GUI gate becomes swarm-level. Refs #4885
This commit is contained in:
parent
f63ab954c9
commit
8628e0ecdd
7 changed files with 108 additions and 57 deletions
|
|
@ -112,14 +112,6 @@ in
|
|||
services.hyperhive.gateway.enable = lib.mkDefault true;
|
||||
services.hyperhive.gateway.dns.enable = lib.mkDefault true;
|
||||
|
||||
services.hyperhive.swarm.controller.links = [
|
||||
{
|
||||
label = "Logs";
|
||||
icon = "📜";
|
||||
url = "https://${cfg.domain}/";
|
||||
}
|
||||
];
|
||||
|
||||
# Authenticated front door onto the loopback-only store — see the
|
||||
# file-top comment for why this is safe to add without touching the
|
||||
# store's own (still unauthenticated, still loopback) listener at all.
|
||||
|
|
|
|||
Loading…
Reference in a new issue