mirror of https://github.com/hashicorp/consul
docs: clean-up expanded service def
parent
6682a0d4be
commit
49ac06a51e
|
@ -48,11 +48,11 @@ 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,
|
||||||
|
@ -72,9 +72,11 @@ 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Details on how the defaults are determined are [documented
|
Details on how the defaults are determined are [documented
|
||||||
|
|
Loading…
Reference in New Issue