diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2024-05-11 21:25:49 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2024-05-11 21:28:46 +0200 |
commit | c2d3ec3c2ab124158e039fddfd22d35c704afd9f (patch) | |
tree | e48e6ecbde72556a4973f6d9ad0132acb72ddc6a /nomad.tmpl.hcl | |
parent | 2248eaced59e6c89d812bd9fcb7285e6576a193b (diff) | |
download | garm-c2d3ec3c2ab124158e039fddfd22d35c704afd9f.tar.gz |
Replace nginx with traefik
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" } |