Tracking nomad client config
This commit is contained in:
parent
3f0c8a865d
commit
9675fbacef
18
ansible/roles/local-server-head/files/nomad.hcl
Normal file
18
ansible/roles/local-server-head/files/nomad.hcl
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
data_dir = "/opt/nomad/data"
|
||||||
|
bind_addr = "0.0.0.0"
|
||||||
|
|
||||||
|
server {
|
||||||
|
enabled = true
|
||||||
|
bootstrap_expect = 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
client {
|
||||||
|
enabled = true
|
||||||
|
servers = ["127.0.0.1"]
|
||||||
|
}
|
||||||
|
|
||||||
|
host_volume "registry" {
|
||||||
|
path = "/opt/volumes/registry"
|
||||||
|
read_only = false
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user