Merge pull request #9008 from luhhujbb/doc-portmap

[doc] fix deprecated port_map example
This commit is contained in:
Seth Hoenig
2020-10-05 12:25:53 -05:00
committed by GitHub

View File

@@ -157,16 +157,16 @@ will be mapped to the port in your container or virtual machine.
```hcl
group "app" {
network {
port "http" {}
port "http" {
to = 8080
}
}
task "example" {
driver = "docker"
config {
port_map = {
http = 8080
}
ports = ["http"]
}
}
}