mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
command: use correct port mapping syntax in examples
This commit is contained in:
@@ -3,7 +3,9 @@ job "example" {
|
||||
|
||||
group "cache" {
|
||||
network {
|
||||
port "db" {}
|
||||
port "db" {
|
||||
to = 6379
|
||||
}
|
||||
}
|
||||
|
||||
task "redis" {
|
||||
|
||||
@@ -151,7 +151,9 @@ job "example" {
|
||||
# https://www.nomadproject.io/docs/job-specification/network
|
||||
#
|
||||
network {
|
||||
port "db" {}
|
||||
port "db" {
|
||||
to = 6379
|
||||
}
|
||||
}
|
||||
|
||||
# The "service" stanza instructs Nomad to register this task as a service
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user