From 0efe6ca6427cf8a39bb0c247f8ea96827a4c0e53 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 25 Jul 2025 12:02:31 -0700 Subject: [PATCH] removing nomad configs --- infra/nigel-nomad/registry.hcl | 46 ---------------------- infra/nigel-nomad/sanity-service.nomad.hcl | 30 -------------- 2 files changed, 76 deletions(-) delete mode 100644 infra/nigel-nomad/registry.hcl delete mode 100644 infra/nigel-nomad/sanity-service.nomad.hcl diff --git a/infra/nigel-nomad/registry.hcl b/infra/nigel-nomad/registry.hcl deleted file mode 100644 index 9192b34..0000000 --- a/infra/nigel-nomad/registry.hcl +++ /dev/null @@ -1,46 +0,0 @@ -# Nigel's Container Registry -job "ncr" { - type = "service" - - group "ncr" { - count = 1 - network { - port "docker" { - static = 5000 - } - } - - service { - name = "ncr" - port = "docker" - provider = "nomad" - } - - volume "container_images" { - type = "host" - read_only = false - source = "registry" - } - - restart { - attempts = 10 - interval = "5m" - delay = "30s" - mode = "delay" - } - - task "ncr" { - driver = "docker" - - volume_mount { - volume = "container_images" - destination = "/registry/data" - read_only = false - } - config { - image = "registry:latest" - ports = [ "docker" ] - } - } - } -} \ No newline at end of file diff --git a/infra/nigel-nomad/sanity-service.nomad.hcl b/infra/nigel-nomad/sanity-service.nomad.hcl deleted file mode 100644 index f0a0e4f..0000000 --- a/infra/nigel-nomad/sanity-service.nomad.hcl +++ /dev/null @@ -1,30 +0,0 @@ -# This 'service' job is just a simple nginx container that lives here as a kind of sanity check -# PORT: 8080 -# DNS : sanity.nigel.local -job "health" { - type = "service" - - group "health" { - count = 1 - network { - port "http" { - static = 8080 - } - } - - service { - name = "health-svc" - port = "http" - provider = "nomad" - } - - task "health-setup" { - driver = "docker" - - config { - image = "shockrah/sanity:latest" - ports = [ "http" ] - } - } - } -} \ No newline at end of file