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
|
# 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" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user