chore(matrix): update synapse port configuration to 8008 and enable health check
This commit is contained in:
parent
785aac4288
commit
81ad6caf55
1 changed files with 11 additions and 9 deletions
|
@ -8,7 +8,9 @@ job "matrix" {
|
||||||
|
|
||||||
network {
|
network {
|
||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
port "synapse" {}
|
port "synapse" {
|
||||||
|
to = 8008
|
||||||
|
}
|
||||||
port "envoy_metrics" {
|
port "envoy_metrics" {
|
||||||
to = 9102
|
to = 9102
|
||||||
}
|
}
|
||||||
|
@ -16,19 +18,19 @@ job "matrix" {
|
||||||
|
|
||||||
service {
|
service {
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
port = "synapse"
|
port = "8008"
|
||||||
|
|
||||||
meta {
|
meta {
|
||||||
envoy_metrics_port = "${NOMAD_HOST_PORT_envoy_metrics}"
|
envoy_metrics_port = "${NOMAD_HOST_PORT_envoy_metrics}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# check {
|
check {
|
||||||
# type = "http"
|
type = "http"
|
||||||
# path = "/health"
|
path = "/health"
|
||||||
# interval = "20s"
|
interval = "20s"
|
||||||
# timeout = "5s"
|
timeout = "5s"
|
||||||
# expose = true
|
expose = true
|
||||||
# }
|
}
|
||||||
|
|
||||||
connect {
|
connect {
|
||||||
sidecar_service {
|
sidecar_service {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue