fix: docs/job-specification change mounts to mount
Since [mounts](https://www.nomadproject.io/docs/drivers/docker#mounts) is deprecated, switch to newer `mount` in `task.config` for `docker` driver.
This commit is contained in:
parent
7d6e81e9e4
commit
26199289fc
|
@ -245,13 +245,11 @@ task "task" {
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "redis:6.0"
|
image = "redis:6.0"
|
||||||
mounts = [
|
mount {
|
||||||
{
|
|
||||||
type = "bind"
|
type = "bind"
|
||||||
source = "local"
|
source = "local"
|
||||||
target = "/etc/redis.d"
|
target = "/etc/redis.d"
|
||||||
}
|
}
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
|
|
Loading…
Reference in New Issue