grafana: open up port
This commit is contained in:
@@ -318,6 +318,7 @@ in
|
|||||||
#soju-ws
|
#soju-ws
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ config, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
myData,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.mj.services.grafana;
|
cfg = config.mj.services.grafana;
|
||||||
in
|
in
|
||||||
@@ -65,6 +70,13 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mj.services.friendlyport.ports = [
|
||||||
|
{
|
||||||
|
subnets = [ myData.subnets.tailscale.cidr ];
|
||||||
|
tcp = [ cfg.port ];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ in
|
|||||||
uid = cfg.uidgid;
|
uid = cfg.uidgid;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user