mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Rename
This commit is contained in:
@@ -9,7 +9,7 @@ directory:
|
||||
## Non-persistent server
|
||||
|
||||
```
|
||||
nomad agent -dev -config docker-privileged.conf
|
||||
nomad agent -dev -config docker-privileged.hcl
|
||||
```
|
||||
|
||||
The configuration allows the Docker driver to start containers with
|
||||
@@ -20,7 +20,7 @@ The configuration allows the Docker driver to start containers with
|
||||
To start a server that can be shutdown and restarted run the following:
|
||||
|
||||
```
|
||||
nomad agent -config persistent-server.conf
|
||||
nomad agent -config persistent.hcl
|
||||
```
|
||||
|
||||
# Clients
|
||||
|
||||
16
dev/docker-clients/persistent.hcl
Normal file
16
dev/docker-clients/persistent.hcl
Normal file
@@ -0,0 +1,16 @@
|
||||
log_level = "DEBUG"
|
||||
data_dir = "/tmp/server"
|
||||
|
||||
server {
|
||||
enabled = true
|
||||
|
||||
# Self-elect, should be 3 or 5 for production
|
||||
bootstrap_expect = 1
|
||||
}
|
||||
|
||||
client {
|
||||
enabled = true
|
||||
options {
|
||||
"docker.privileged.enabled" = "true"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user