datacenter = "dc1" data_dir = "/opt/nomad" bind_addr = "0.0.0.0" # the default enable_syslog = true enable_debug = true name = "ip-3-238-252-116" advertise { http = "172.31.57.132" rpc = "172.31.57.132" } server { enabled = true // bootstrap_expect = 3 } client { enabled = true alloc_dir = "/mnt/data/nomad" host_volume "postgres" { path = "/mnt/data/postgres" read_only = false } host_volume "redis" { path = "/mnt/data/redis" read_only = false } host_volume "tls" { path = "/mnt/share/tls" read_only = true } meta { ingress=0 } } plugin "docker" { config { allow_privileged = false } } ui { enabled = true consul { ui_url = "http://3.238.252.116:8500/ui" } } // consul { // address = "127.0.0.1:8500" // } consul { grpc_ca_file = "/etc/consul.d/consul-agent-ca.pem" grpc_address = "127.0.0.1:8503" ca_file = "/etc/consul.d/consul-agent-ca.pem" cert_file = "/etc/consul.d/dc1-server-consul-5.pem" key_file = "/etc/consul.d/dc1-server-consul-5-key.pem" ssl = true address = "127.0.0.1:8501" share_ssl = true timeout = "60s" }