From 30bb579811d46d7cec45a4b2fbc3c40aafa0f918 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 14 Mar 2022 15:59:07 -0700 Subject: [PATCH] Change default bind address to loopback --- nomad/setup-cluster.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nomad/setup-cluster.yml b/nomad/setup-cluster.yml index 49d0ef9..1c1d1df 100644 --- a/nomad/setup-cluster.yml +++ b/nomad/setup-cluster.yml @@ -129,8 +129,14 @@ # Bind nomad nomad_bind_address: 0.0.0.0 + # Default interface for binding tasks + nomad_network_interface: lo + # Create networks for binding task ports nomad_host_networks: + - name: public + interface: eth0 + reserved_ports: "22" - name: nomad-bridge interface: nomad reserved_ports: "22"