mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Fixed the docs related to port map and networking
This commit is contained in:
@@ -173,7 +173,7 @@ task "redis" {
|
||||
config {
|
||||
image = "redis"
|
||||
port_map {
|
||||
redis = "6379"
|
||||
redis = 6379
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ place your task.
|
||||
```
|
||||
task "dnsservice" {
|
||||
port "dns" {
|
||||
static = "53"
|
||||
static = 53
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -106,4 +106,4 @@ The above example is for the Docker driver. The service is listening on port
|
||||
`8080` inside the container. The driver will automatically map the dynamic port
|
||||
to this service.
|
||||
|
||||
Please refer to the [Docker](/docs/drivers/docker.html) and [QEMU](/docs/drivers/qemu.html) drivers for additional information.
|
||||
Please refer to the [Docker](/docs/drivers/docker.html) and [QEMU](/docs/drivers/qemu.html) drivers for additional information.
|
||||
|
||||
Reference in New Issue
Block a user