Blake Covarrubias 91a783a980
docs: Fix example service registration for built-in proxy (#20336)
Fix the sample service registration for the built-in proxy by adding
the missing `sidecar_service` block.
2024-01-25 11:38:58 -08:00

43 lines
795 B
Plaintext

{
"web": {
"Kind": "",
"ID": "web",
"Service": "web",
"Tags": [],
"Meta": {},
"Port": 8181,
"Address": "",
"EnableTagOverride": false,
"CreateIndex": 0,
"ModifyIndex": 0,
"ProxyDestination": "",
"Connect": {
"SidecarService": {
"Proxy": {
"ExecMode": "daemon",
"Command": [
"/bin/consul",
"connect",
"proxy"
],
"Config": null
}
}
}
},
"web-proxy": {
"Kind": "connect-proxy",
"ID": "web-proxy",
"Service": "web-proxy",
"Tags": [],
"Meta": {},
"Port": 20199,
"Address": "",
"EnableTagOverride": false,
"CreateIndex": 0,
"ModifyIndex": 0,
"ProxyDestination": "web",
"Connect": null
}
}