mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 12:11:05 +00:00
[docs] Sidecar Registration (#5998)
* missing service option * fixing the second example
This commit is contained in:
parent
7a3c94677b
commit
cb80c7ba85
@ -30,9 +30,11 @@ To register a service instance with a sidecar, all that's needed is:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
"connect": { "sidecar_service": {} }
|
||||
"service": {
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
"connect": { "sidecar_service": {} }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
@ -44,8 +46,10 @@ definitions:
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
"service": {
|
||||
"name": "web",
|
||||
"port": 8080,
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "web-sidecar-proxy",
|
||||
|
Loading…
x
Reference in New Issue
Block a user