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 {
|
||||
mode = "bridge"
|
||||
port "synapse" {}
|
||||
port "synapse" {
|
||||
to = 8008
|
||||
}
|
||||
port "envoy_metrics" {
|
||||
to = 9102
|
||||
}
|
||||
|
@ -16,19 +18,19 @@ job "matrix" {
|
|||
|
||||
service {
|
||||
provider = "consul"
|
||||
port = "synapse"
|
||||
port = "8008"
|
||||
|
||||
meta {
|
||||
envoy_metrics_port = "${NOMAD_HOST_PORT_envoy_metrics}"
|
||||
}
|
||||
|
||||
# check {
|
||||
# type = "http"
|
||||
# path = "/health"
|
||||
# interval = "20s"
|
||||
# timeout = "5s"
|
||||
# expose = true
|
||||
# }
|
||||
check {
|
||||
type = "http"
|
||||
path = "/health"
|
||||
interval = "20s"
|
||||
timeout = "5s"
|
||||
expose = true
|
||||
}
|
||||
|
||||
connect {
|
||||
sidecar_service {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue