diff --git a/hosts/common/nomad.nix b/hosts/common/nomad.nix index ddbedbb..1c40e75 100644 --- a/hosts/common/nomad.nix +++ b/hosts/common/nomad.nix @@ -16,6 +16,7 @@ in client = { enabled = true; server_join.retry_join = servers; + host_network.tailscale.interface = "tailscale0"; }; server = { diff --git a/services/pi.paler.net.hcl b/services/pi.paler.net.hcl index 31fbe5d..0e3f046 100644 --- a/services/pi.paler.net.hcl +++ b/services/pi.paler.net.hcl @@ -3,7 +3,9 @@ job "pi.paler.net" { group "apps" { network { - port "http" { } + port "http" { + host_network = "tailscale" + } } service {