mirror of
https://github.com/status-im/consul.git
synced 2025-01-15 16:26:06 +00:00
docs: clean-up expanded service def
This commit is contained in:
parent
6682a0d4be
commit
49ac06a51e
@ -48,12 +48,12 @@ definitions:
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"service": {
|
"services": [
|
||||||
|
{
|
||||||
"name": "web",
|
"name": "web",
|
||||||
"port": 8080
|
"port": 8080
|
||||||
}
|
},
|
||||||
}
|
{
|
||||||
{
|
|
||||||
"name": "web-sidecar-proxy",
|
"name": "web-sidecar-proxy",
|
||||||
"port": 20000,
|
"port": 20000,
|
||||||
"kind": "connect-proxy",
|
"kind": "connect-proxy",
|
||||||
@ -72,8 +72,10 @@ definitions:
|
|||||||
"destination_service_name": "web",
|
"destination_service_name": "web",
|
||||||
"destination_service_id": "web",
|
"destination_service_id": "web",
|
||||||
"local_service_address": "127.0.0.1",
|
"local_service_address": "127.0.0.1",
|
||||||
"local_service_port": 8080,
|
"local_service_port": 8080
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user