Stop exposing homeassistant
All checks were successful
/ terraform (push) Successful in 58s
/ ansible (push) Successful in 1m52s

This commit is contained in:
Jake Howard 2024-03-23 11:54:26 +00:00
parent eb6fe3a23b
commit 5157940f20
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ http:
router-homeassistant: router-homeassistant:
rule: Host(`homeassistant.jakehoward.tech`) rule: Host(`homeassistant.jakehoward.tech`)
service: service-homeassistant service: service-homeassistant
middlewares:
- tailscale-only@file
services: services:
service-homeassistant: service-homeassistant:
loadBalancer: loadBalancer:

View file

@ -127,7 +127,7 @@ resource "cloudflare_record" "jakehowardtech_calibre" {
resource "cloudflare_record" "jakehowardtech_homeassistant" { resource "cloudflare_record" "jakehowardtech_homeassistant" {
zone_id = cloudflare_zone.jakehowardtech.id zone_id = cloudflare_zone.jakehowardtech.id
name = "homeassistant" name = "homeassistant"
value = cloudflare_record.sys_domain_pve.hostname value = cloudflare_record.sys_domain_private.hostname
type = "CNAME" type = "CNAME"
ttl = 1 ttl = 1
} }