create nginx magic module
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e34c892fc2
commit
64bdee8a12
12 changed files with 111 additions and 64 deletions
|
@ -5,6 +5,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
vmPort = 8428;
|
||||
grafanaPort = config.meta.exposes.grafana.port;
|
||||
vs = config.vault-secrets.secrets;
|
||||
in {
|
||||
imports = [ ];
|
||||
|
@ -78,7 +79,7 @@ in {
|
|||
domain = "grafana.0x76.dev";
|
||||
root_url = "https://grafana.0x76.dev";
|
||||
http_addr = "0.0.0.0";
|
||||
http_port = 2342;
|
||||
http_port = grafanaPort;
|
||||
};
|
||||
security.admin_password = "$__file{${vs.grafana}/password}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue