feat(dns): setup cloudflared tunnel and DNS records
This commit is contained in:
4
cloudflare/services/output.tf
Normal file
4
cloudflare/services/output.tf
Normal file
@@ -0,0 +1,4 @@
|
||||
output "services" {
|
||||
description = "TODO"
|
||||
value = local.services
|
||||
}
|
||||
14
cloudflare/services/services.tf
Normal file
14
cloudflare/services/services.tf
Normal file
@@ -0,0 +1,14 @@
|
||||
locals {
|
||||
services = {
|
||||
homer = {
|
||||
subdomain = "home"
|
||||
service = "http://192.168.0.101:8888"
|
||||
policy = "allow_myself_and_family"
|
||||
},
|
||||
gitea = {
|
||||
subdomain = "git"
|
||||
service = "http://192.168.0.101:3000"
|
||||
policy = "allow_everyone"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user