configs for nomad and consul

This commit is contained in:
2023-09-27 11:53:38 +02:00
parent 2ba6fbacca
commit d6457d862a
5 changed files with 135 additions and 0 deletions

View File

View 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"
}