Watch
0
0
Fork
You've already forked hyperhive
0

move hiveName to deploy.hive-controller; only a hive host needs a name

This commit is contained in:
atlas 2026-10-26 16:06:11 +01:00 • committed by mara
commit 0c6e8fc5a2
37 changed files with 402 additions and 215 deletions

View file

@ -1,5 +1,5 @@
# The hive's gateway surface, declared under `services.hyperhive.gateway.vhosts`
# like every service's: the dashboard's vhost (`swarm.dashboardDomain`), which
# like every service's: the dashboard's vhost (`deploy.hive-controller.dashboardDomain`), which
# carries the dashboard behind authelia, per-agent routing and the swagger UI;
# and the vhost named for the hive domain, which redirects everything to the
# dashboard's name. The matrix redirect, and discovery for a server name pinned to
@ -12,7 +12,7 @@
let
hyperhiveCfg = config.services.hyperhive;
gatewayCfg = hyperhiveCfg.gateway;
inherit (hyperhiveCfg.swarm) dashboardDomain;
inherit (hyperhiveCfg.deploy.hive-controller) dashboardDomain;
autheliaDomain = hyperhiveCfg.swarm.authelia.domain;
inherit (gatewayCfg.lib) errorPages;