Swapping the health container to our own thing
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 3s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 14s

it's just nginx on port 8080 :)
This commit is contained in:
shockrah 2025-05-13 18:40:12 -07:00
parent 669c414288
commit 943e9651da

View File

@ -1,5 +1,5 @@
# This 'service' job is just a simple nginx container that lives here as a kind of sanity check # This 'service' job is just a simple nginx container that lives here as a kind of sanity check
# PORT: 8000 # PORT: 8080
# DNS : sanity.nigel.local # DNS : sanity.nigel.local
job "health" { job "health" {
type = "service" type = "service"
@ -8,8 +8,7 @@ job "health" {
count = 1 count = 1
network { network {
port "http" { port "http" {
static = 8000 static = 8080
to = 80
} }
} }
@ -23,7 +22,7 @@ job "health" {
driver = "docker" driver = "docker"
config { config {
image = "nginx:latest" image = "shockrah/sanity:latest"
ports = [ "http" ] ports = [ "http" ]
} }
} }