diff options
Diffstat (limited to 'nomad.tmpl.hcl')
-rw-r--r-- | nomad.tmpl.hcl | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/nomad.tmpl.hcl b/nomad.tmpl.hcl index e597b36..e703c0e 100644 --- a/nomad.tmpl.hcl +++ b/nomad.tmpl.hcl @@ -2,21 +2,21 @@ data_dir = "/opt/nomad/data" bind_addr = "0.0.0.0" advertise { - http = "127.0.0.1" - rpc = "127.0.0.1" - serf = "127.0.0.1" + http = "{{ ip address }}" + rpc = "{{ ip address }}" + serf = "{{ ip address }}" } server { enabled = true bootstrap_expect = 1 - encrypt = "{{ .secret }}" # why not? + encrypt = "{{ base64 }}" # why not? } client { enabled = true - servers = ["127.0.0.1"] + servers = ["{{ ip address }}"] host_volume "ca-certificates" { path = "/var/local/ca-certificates" @@ -30,10 +30,6 @@ client { path = "/var/www/faktura" } - host_volume "syncthing" { - path = "/var/local/syncthing" - } - host_volume "ctftajm-postgres" { path = "/var/local/ctftajm-postgres" } |