-
Notifications
You must be signed in to change notification settings - Fork 15
/
0.json.example
80 lines (80 loc) · 1.9 KB
/
0.json.example
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"log_path": "infernet_node.log",
"server": {
"port": 4000
},
"chain": {
"enabled": true,
"rpc_url": "http://127.0.0.1:8545",
"trail_head_blocks": 4,
"wallet": {
"max_gas_limit": 100000,
"private_key": "12345s",
"payment_address": "0x...",
"allowed_sim_errors": []
},
"snapshot_sync": {
"sleep": 1.5,
"batch_size": 200
}
},
"docker": {
"username": "username",
"password": "password"
},
"redis": {
"host": "redis",
"port": 6379
},
"forward_stats": true,
"containers": [
{
"id": "container-1",
"image": "org1/image1:tag1",
"description": "Container 1 description",
"external": true,
"port": "4999",
"allowed_addresses": [],
"allowed_delegate_addresses": [],
"allowed_ips": [
"XX.XX.XX.XXX",
"XX.XX.XX.XXX"
],
"command": "--bind=0.0.0.0:3000 --workers=2",
"env": {
"KEY1": "VALUE1",
"KEY2": "VALUE2"
},
"gpu": false,
"accepted_payments": {
"0x0000000000000000000000000000000000000000": 1000000000000000000,
"0x59F2f1fCfE2474fD5F0b9BA1E73ca90b143Eb8d0": 1000000000000000000
},
"generates_proofs": true
},
{
"id": "container-2",
"image": "org2/image2:tag2",
"description": "Container 2 description",
"external": false,
"port": "4998",
"allowed_addresses": [],
"allowed_delegate_addresses": [],
"allowed_ips": [
"XX.XX.XX.XXX",
"XX.XX.XX.XXX"
],
"command": "--bind=0.0.0.0:3000 --workers=2",
"env": {
"KEY3": "VALUE3",
"KEY4": "VALUE4"
},
"gpu": true,
"accepted_payments": {
"0x0000000000000000000000000000000000000000": 1000000000000000000,
"0x59F2f1fCfE2474fD5F0b9BA1E73ca90b143Eb8d0": 1000000000000000000
},
"generates_proofs": false
}
]
}