Files
infra/2-nomad-config/services.tf
Adrian Cowan 05771d891b Add hcl extention for nomad files
to get syntax highlighting be default.
2025-04-29 20:58:59 +10:00

17 lines
407 B
HCL

provider "nomad" {
# For some reason nomad is binding to the tailscale IP but not the (local) IP that we get for the same hostname
address = "http://jaglan-beta-m01:4646"
}
resource "nomad_job" "hello_world" {
jobspec = file("hello-world.nomad.hcl")
}
resource "nomad_job" "traefik" {
jobspec = file("traefik.nomad.hcl")
}
resource "nomad_job" "webapp" {
jobspec = file("webapp.nomad.hcl")
}