mirror of https://github.com/status-im/consul.git
18 lines
285 B
HCL
18 lines
285 B
HCL
|
services {
|
||
|
name = "s1"
|
||
|
port = 8080
|
||
|
connect {
|
||
|
sidecar_service {
|
||
|
proxy {
|
||
|
upstreams = [
|
||
|
{
|
||
|
destination_name = "s2"
|
||
|
destination_peer = "primary-to-alpha"
|
||
|
local_bind_port = 5000
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|