mirror of https://github.com/status-im/consul.git
33 lines
493 B
HCL
33 lines
493 B
HCL
config_entries {
|
|
bootstrap = [
|
|
{
|
|
kind = "proxy-defaults"
|
|
name = "global"
|
|
|
|
config {
|
|
protocol = "tcp"
|
|
}
|
|
},
|
|
{
|
|
kind = "mesh"
|
|
peering {
|
|
peer_through_mesh_gateways = true
|
|
}
|
|
},
|
|
{
|
|
kind = "exported-services"
|
|
name = "default"
|
|
services = [
|
|
{
|
|
name = "s2"
|
|
consumers = [
|
|
{
|
|
peer = "alpha-to-primary"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|