mirror of https://github.com/hashicorp/consul
23 lines
225 B
HCL
23 lines
225 B
HCL
|
services {
|
||
|
id = "s2-v1"
|
||
|
name = "s2"
|
||
|
port = 8182
|
||
|
|
||
|
meta {
|
||
|
version = "v1"
|
||
|
}
|
||
|
|
||
|
checks = [
|
||
|
{
|
||
|
name = "main"
|
||
|
ttl = "30m"
|
||
|
},
|
||
|
]
|
||
|
|
||
|
connect {
|
||
|
sidecar_service {
|
||
|
port = 21011
|
||
|
}
|
||
|
}
|
||
|
}
|