Skip to content

Commit 547375f

Browse files
committed
Schema updated.
1 parent a075bd1 commit 547375f

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

README.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,44 +10,44 @@ You can get information when a service added, updated etc. This service will aut
1010

1111
```json
1212
{
13-
"3bws4d8y2tknhpva8ews8z6gt": {
14-
"Name": "nginx",
15-
"Ports": [
16-
{
17-
"TargetPort": 80,
18-
"PublishedPort": 9099
19-
}
20-
],
21-
"Nodes": [
22-
{
23-
"Id": "xvvpn493yqrvtove74o33o9sf",
24-
"Name": "linuxkit-025000000001",
25-
"Ip": "192.168.65.3"
26-
}
27-
],
28-
"Labels": {
29-
"mono.upstream.mode": "least_conn"
13+
index.js:129
14+
"nodes": [
15+
{
16+
"Id": "xvvpn493yqrvtove74o33o9sf",
17+
"Name": "linuxkit-025000000001",
18+
"Ip": "192.168.65.3"
19+
}
20+
],
21+
"services": [
22+
{
23+
"Name": "nginx",
24+
"Ports": [
25+
{
26+
"TargetPort": 80,
27+
"PublishedPort": 9099
3028
}
29+
],
30+
"Nodes": [
31+
"xvvpn493yqrvtove74o33o9sf"
32+
],
33+
"Labels": {
34+
"mono.upstream.mode": "least_conn"
35+
}
3136
},
32-
"9t2keqva21qk9oj3ufkynkr77": {
33-
"Name": "redis",
34-
"Ports": [
35-
{
36-
"TargetPort": 6397,
37-
"PublishedPort": 2222
38-
}
39-
],
40-
"Nodes": [
41-
{
42-
"Id": "xvvpn493yqrvtove74o33o9sf",
43-
"Name": "linuxkit-025000000001",
44-
"Ip": "192.168.65.3"
45-
}
46-
],
47-
"Labels": {
48-
"mono.upstream": "ip_hash"
37+
{
38+
"Name": "redis",
39+
"Ports": [
40+
{
41+
"TargetPort": 6397,
42+
"PublishedPort": 2222
4943
}
44+
],
45+
"Nodes": [
46+
"xvvpn493yqrvtove74o33o9sf"
47+
],
48+
"Labels": {}
5049
}
50+
]
5151
}
5252
```
5353

0 commit comments

Comments
 (0)