-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstream.json
More file actions
45 lines (45 loc) · 1.26 KB
/
stream.json
File metadata and controls
45 lines (45 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "nginx1",
"listen": {"nginx": [{"kind": "tcp", "value": "80"}]},
"connected": {
"back1": [{"src": "nginx", "dst": "app", "port": {"kind": "tcp", "value": "8080"}}],
"back2": [{"src": "nginx", "dst": "app", "port": {"kind": "tcp", "value": "8081"}}]
}
}
{
"name": "db1",
"listen": {"postgres": [{"kind": "tcp", "value": "5432"}]},
"connected": {}
}
{
"name": "back1",
"listen": {"app": [
{"kind": "tcp", "value": "8080"},
{"kind": "tcp", "value": "8081"},
{"kind": "tcp", "value": "9000"}
]},
"connected": {
"db1": [{"src": "app", "dst": "postgres", "port": {"kind": "tcp", "value": "5432"}}]
}
}
{
"name": "back2",
"listen": {"app": [
{"kind": "tcp", "value": "8080"},
{"kind": "tcp", "value": "8081"}
]},
"connected": {
"db1": [{"src": "app", "dst": "postgres", "port": {"kind": "tcp", "value": "5432"}}],
"foo1": [{"src": "app", "dst": "[remote]", "port": {"kind": "tcp", "value": "9500"}}]
}
}
{
"name": "foo1",
"is_external": true,
"listen": {"[remote]": [{"kind": "tcp", "value": "9500"}]},
"connected": {
"back1": [
{"src": "[remote]", "dst": "app", "port": {"kind": "tcp", "value": "9000"}}
]
}
}