Swapping the health container to our own thing
it's just nginx on port 8080 :)
This commit is contained in:
parent
669c414288
commit
943e9651da
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
job "health" {
|
||||
type = "service"
|
||||
@ -8,8 +8,7 @@ job "health" {
|
||||
count = 1
|
||||
network {
|
||||
port "http" {
|
||||
static = 8000
|
||||
to = 80
|
||||
static = 8080
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,7 +22,7 @@ job "health" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "nginx:latest"
|
||||
image = "shockrah/sanity:latest"
|
||||
ports = [ "http" ]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user