web02: monitoring
This commit is contained in:
parent
9d8bffd0fd
commit
94de0ff94b
2 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
||||||
imports = [
|
imports = [
|
||||||
./gandi.nix
|
./gandi.nix
|
||||||
inputs.self.nixosModules.common
|
inputs.self.nixosModules.common
|
||||||
|
inputs.self.nixosModules.monitoring
|
||||||
|
inputs.srvos.nixosModules.mixins-nginx
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "web02";
|
networking.hostName = "web02";
|
||||||
|
|
|
@ -162,6 +162,13 @@ resource "cloudflare_record" "nix-community-org-nur-update-CNAME" {
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "nix-community-org-prometheus-CNAME" {
|
||||||
|
zone_id = local.nix_community_zone_id
|
||||||
|
name = "prometheus"
|
||||||
|
value = "web02.nix-community.org"
|
||||||
|
type = "CNAME"
|
||||||
|
}
|
||||||
|
|
||||||
resource "cloudflare_record" "nix-community-org-apex-A" {
|
resource "cloudflare_record" "nix-community-org-apex-A" {
|
||||||
zone_id = local.nix_community_zone_id
|
zone_id = local.nix_community_zone_id
|
||||||
name = "@"
|
name = "@"
|
||||||
|
|
Loading…
Add table
Reference in a new issue