Format terraform and nomad files
This commit is contained in:
@@ -3,7 +3,7 @@ job "demo-webapp" {
|
||||
count = 3
|
||||
|
||||
network {
|
||||
port "http"{
|
||||
port "http" {
|
||||
to = -1
|
||||
}
|
||||
}
|
||||
@@ -27,8 +27,8 @@ job "demo-webapp" {
|
||||
|
||||
task "server" {
|
||||
env {
|
||||
PORT = "${NOMAD_PORT_http}"
|
||||
NODE_IP = "${NOMAD_IP_http}"
|
||||
PORT = NOMAD_PORT_http
|
||||
NODE_IP = NOMAD_IP_http
|
||||
}
|
||||
|
||||
driver = "docker"
|
||||
@@ -39,4 +39,4 @@ job "demo-webapp" {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user