mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 10:55:42 +03:00
Merge pull request #2362 from scottw/master
add data_dir to server and client configuration
This commit is contained in:
@@ -38,6 +38,8 @@ the following Nomad configuration file:
|
||||
```hcl
|
||||
# /etc/nomad.d/server.hcl
|
||||
|
||||
data_dir = "/etc/nomad.d"
|
||||
|
||||
server {
|
||||
enabled = true
|
||||
bootstrap_expect = 3
|
||||
@@ -56,6 +58,7 @@ A similar configuration is available for Nomad clients:
|
||||
# /etc/nomad.d/client.hcl
|
||||
|
||||
datacenter = "dc1"
|
||||
data_dir = "/etc/nomad.d"
|
||||
|
||||
client {
|
||||
enabled = true
|
||||
|
||||
Reference in New Issue
Block a user