[grafana] expose to outside world
diff --git a/dns.tf b/dns.tf
index d4a367d..ca62f1d 100644
--- a/dns.tf
+++ b/dns.tf
@@ -28,11 +28,12 @@ resource "dnsimple_zone_record" "chislan_family_subdomains" {
# - mitmproxy?
resource "dnsimple_zone_record" "kejadlen_dev_subdomains" {
for_each = {
- auth = local.lotus_land_story.ip_address
- git = local.lotus_land_story.ip_address
- hey = local.lotus_land_story.ip_address
- monica = local.ramble_hard.ip_address
- social = local.ramble_hard.ip_address
+ auth = local.lotus_land_story.ip_address
+ git = local.lotus_land_story.ip_address
+ grafana = local.lotus_land_story.ip_address
+ hey = local.lotus_land_story.ip_address
+ monica = local.ramble_hard.ip_address
+ social = local.ramble_hard.ip_address
}
zone_name = dnsimple_zone.zones["kejadlen_dev"].name
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 6dca1c7..f6ef84c 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -187,6 +187,10 @@ git.kejadlen.dev {
}
}
+grafana.kejadlen.dev {
+ reverse_proxy grafana:3000
+}
+
hey.kejadlen.dev
log
diff --git a/main.tf b/main.tf
index 89d824c..3b4c2d6 100644
--- a/main.tf
+++ b/main.tf
@@ -41,7 +41,7 @@ provider "linode" {
}
provider "pihole" {
- url = "http://mountain-of-faith:8080"
+ url = "http://mountain-of-faith:80"
password = var.pihole.password
}