blob: f44ccaae181a30baa212c8ba57c475b4ebb37a92 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
addresses {
http = "::"
rpc = "::"
serf = "::"
}
advertise {
http = "{{ ipv6 }}"
rpc = "{{ ipv6 }}"
serf = "{{ ipv6 }}"
}
data_dir = "/var/lib/nomad"
server {
enabled = true
bootstrap_expect = 3
}
consul {
address="[::1]:8500"
}
client {
enabled = true
#cpu_total_compute = 4000
servers = ["[::1]:4648"]
network_interface = "{{ interface }}"
options {
docker.privileged.enabled = "true"
docker.volumes.enabled = "true"
}
}
telemetry {
collection_interval = "1s"
disable_hostname = false
prometheus_metrics = true
publish_allocation_metrics = true
publish_node_metrics = true
}
plugin "docker" {
config {
pull_activity_timeout = "15m"
}
}
|