[caddy] home-assistant and pi-hole
change ywkxtzymvtoowyrmywvrwrlvyxzlukuz
commit 6fb0142fc320b263b0d170abbcfac8373f4431f3
author Alpha Chen <alpha@kejadlen.dev>
date
parent vxulpnwt
diff --git a/lotus-land-story/caddy.yml b/lotus-land-story/caddy.yml
index 38efb96..f71a341 100644
--- a/lotus-land-story/caddy.yml
+++ b/lotus-land-story/caddy.yml
@@ -22,7 +22,7 @@
       register: docker_network
 
     - name: Get Perfect Cherry Blossom IP
-      command: tailscale ip --1 Perfect-Cherry-Blossom
+      command: tailscale ip --1 perfect-cherry-blossom
       register: perfect_cherry_blossom_ip_result
 
     # TODO Reload Caddy when this changes:
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 9a919f4..52a6be2 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -138,6 +138,20 @@ docs {
 # 	}
 # }
 
+### Internal
+
+home-assistant {
+	tls internal
+	bind tailscale/home-assistant
+	reverse_proxy homeassistant:8123
+}
+
+pihole {
+	tls internal
+	bind tailscale/pihole
+	reverse_proxy mountain-of-faith:80
+}
+
 ### External
 
 git.kejadlen.dev {