mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
agent/testdata add a configuration directory for testing
This commit is contained in:
38
command/agent/testdata/sample1/sample0.json
vendored
Normal file
38
command/agent/testdata/sample1/sample0.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"acl": {
|
||||
"enabled": true
|
||||
},
|
||||
"bind_addr": "0.0.0.0",
|
||||
"consul": {
|
||||
"ssl": true,
|
||||
"server_auto_join": false,
|
||||
"client_auto_join": false,
|
||||
"token": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
||||
},
|
||||
"data_dir": "/opt/data/nomad/data",
|
||||
"datacenter": "dc1",
|
||||
"enable_syslog": true,
|
||||
"leave_on_interrupt": true,
|
||||
"leave_on_terminate": true,
|
||||
"log_level": "INFO",
|
||||
"region": "global",
|
||||
"server": {
|
||||
"bootstrap_expect": 3,
|
||||
"enabled": true,
|
||||
"encrypt": "sHck3WL6cxuhuY7Mso9BHA==",
|
||||
"retry_join": [
|
||||
"10.0.0.101",
|
||||
"10.0.0.102",
|
||||
"10.0.0.103"
|
||||
]
|
||||
},
|
||||
"syslog_facility": "LOCAL0",
|
||||
"tls": {
|
||||
"ca_file": "/opt/data/nomad/certs/nomad-ca.pem",
|
||||
"cert_file": "/opt/data/nomad/certs/server.pem",
|
||||
"http": true,
|
||||
},
|
||||
"vault": {
|
||||
"address": "http://host.example.com:8200",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user