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