-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmesh.example.json
More file actions
39 lines (39 loc) · 805 Bytes
/
mesh.example.json
File metadata and controls
39 lines (39 loc) · 805 Bytes
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
{
"nodes": [
{
"id": "server1",
"alias": "s1",
"host": "10.0.0.1",
"port": 22,
"user": "root",
"identityFile": "id_ed25519",
"os": "linux",
"role": "storage",
"tags": ["vps", "primary", "docker"]
},
{
"id": "server2",
"alias": "s2",
"host": "10.0.0.2",
"port": 22,
"user": "root",
"identityFile": "id_ed25519",
"os": "linux",
"role": "compute",
"tags": ["vps", "secondary"]
},
{
"id": "laptop",
"alias": "lp",
"host": "10.0.0.3",
"port": 22,
"user": "root",
"identityFile": "id_ed25519",
"os": "linux",
"role": "gpu+browser",
"tags": ["laptop", "gpu"]
}
],
"meshSubnet": "10.0.0.0/24",
"defaultNode": "local"
}