all: add prometheus
This commit is contained in:
parent
fcdc65d8ce
commit
b9eebc2a7e
8 changed files with 116 additions and 31 deletions
|
@ -18,6 +18,10 @@
|
|||
gts_env = {
|
||||
owner = "gotosocial";
|
||||
};
|
||||
grafana_cloud_api = {
|
||||
owner = "prometheus";
|
||||
sopsFile = ../secrets.yaml;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -11,6 +11,15 @@ in
|
|||
domain = "vaultwarden.xinyang.life";
|
||||
};
|
||||
|
||||
custom.prometheus = {
|
||||
enable = true;
|
||||
exporters.enable = true;
|
||||
grafana = {
|
||||
enable = true;
|
||||
password_file = config.sops.secrets.grafana_cloud_api.path;
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = builtins.listToAttrs (map (share: {
|
||||
name = "/mnt/storage/${share}";
|
||||
value = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue