Pruning
This commit is contained in:
@@ -101,14 +101,14 @@ The `publish_via` field controls which networking module(s) will expose the serv
|
||||
### Basic Service with Default Settings
|
||||
|
||||
```hcl
|
||||
# Example based on ntfy (reverse-proxy only with direct IP exposure)
|
||||
# Example based on jellyfin (reverse-proxy only with direct IP exposure)
|
||||
output "service_definition" {
|
||||
description = "Service definition for a notification service"
|
||||
description = "Service definition for a media server"
|
||||
value = {
|
||||
name = "ntfy"
|
||||
primary_port = 80
|
||||
endpoint = "http://ntfy:80"
|
||||
subdomains = ["ntfy"]
|
||||
name = "jellyfin"
|
||||
primary_port = 8096
|
||||
endpoint = "http://jellyfin:8096"
|
||||
subdomains = ["media"]
|
||||
publish_via = "reverse_proxy" # Only expose via Caddy reverse proxy
|
||||
proxied = false # Don't proxy through Cloudflare (expose direct IP)
|
||||
}
|
||||
|
||||
@@ -72,8 +72,8 @@ module "homelab_tunnel" {
|
||||
tunnel_name = "homelab-tunnel"
|
||||
ingress_rules = [
|
||||
{
|
||||
hostname = "budget.${module.cloudflare_globals.domain}"
|
||||
service = "http://actualbudget:5006"
|
||||
hostname = "media.${module.cloudflare_globals.domain}"
|
||||
service = "http://jellyfin:8096"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user