cluster/services/ways: expose url

This commit is contained in:
Max Headroom 2024-08-03 00:11:46 +02:00
parent e81aad5619
commit 549cbdb6c8

View file

@ -57,6 +57,12 @@ with lib;
default = "/.well-known/ways/internal-health-check"; default = "/.well-known/ways/internal-health-check";
}; };
url = mkOption {
type = types.str;
readOnly = true;
default = "https://${name}.${config.domainSuffix}";
};
useConsul = mkOption { useConsul = mkOption {
type = types.bool; type = types.bool;
internal = true; internal = true;