Format terraform and nomad files

This commit is contained in:
2025-05-18 21:28:24 +10:00
parent 837cfdae68
commit 9cdd529633
12 changed files with 80 additions and 72 deletions

View File

@@ -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" {
}
}
}
}
}