configs for nomad and consul
This commit is contained in:
0
_sys/etc_nomad.d/nomad.env
Normal file
0
_sys/etc_nomad.d/nomad.env
Normal file
21
_sys/etc_nomad.d/nomad.hcl
Normal file
21
_sys/etc_nomad.d/nomad.hcl
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
# Full configuration options can be found at https://www.nomadproject.io/docs/configuration
|
||||
|
||||
data_dir = "/opt/nomad/data"
|
||||
bind_addr = "172.16.23.21"
|
||||
datacenter = "nummer5"
|
||||
|
||||
server {
|
||||
# license_path is required for Nomad Enterprise as of Nomad v1.1.1+
|
||||
#license_path = "/etc/nomad.d/license.hclic"
|
||||
enabled = true
|
||||
bootstrap_expect = 3
|
||||
}
|
||||
|
||||
client {
|
||||
enabled = true
|
||||
servers = ["172.16.23.21"]
|
||||
network_interface = "eth0"
|
||||
}
|
||||
Reference in New Issue
Block a user