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 {
|
||||
image = "redis:6.0"
|
||||
mounts = [
|
||||
{
|
||||
type = "bind"
|
||||
source = "local"
|
||||
target = "/etc/redis.d"
|
||||
}
|
||||
]
|
||||
mount {
|
||||
type = "bind"
|
||||
source = "local"
|
||||
target = "/etc/redis.d"
|
||||
}
|
||||
}
|
||||
|
||||
template {
|
||||
|
|
Loading…
Reference in New Issue