mirror of https://github.com/hashicorp/consul
26 lines
456 B
HCL
26 lines
456 B
HCL
|
enable_central_service_config = true
|
||
|
config_entries {
|
||
|
bootstrap {
|
||
|
kind = "proxy-defaults"
|
||
|
name = "global"
|
||
|
config {
|
||
|
envoy_prometheus_bind_addr = "0.0.0.0:1234"
|
||
|
}
|
||
|
}
|
||
|
bootstrap {
|
||
|
kind = "service-defaults"
|
||
|
name = "s1"
|
||
|
protocol = "http"
|
||
|
connect {
|
||
|
sidecar_proxy = true
|
||
|
}
|
||
|
}
|
||
|
bootstrap {
|
||
|
kind = "service-defaults"
|
||
|
name = "s2"
|
||
|
protocol = "http"
|
||
|
connect {
|
||
|
sidecar_proxy = true
|
||
|
}
|
||
|
}
|
||
|
}
|