-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.default.json5
36 lines (36 loc) · 1.1 KB
/
config.default.json5
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
{
nodes: [
{
name: 'ipfs1',
multiAddr: '/ip4/194.163.154.252/tcp/4001/p2p/12D3KooWSUCe86zWfas1Lo1UQzXzquZgS81d1DpPPYAuTNjSyniq'
},
{
name: 'ipfs2',
multiAddr: '/ip4/154.26.159.245/tcp/4001/p2p/12D3KooWJw99nqrQ2L2joFuGCF9EN9EyF8ZrvGr1odQ61HoPrbXd'
},
{
name: 'ipfs3',
multiAddr: '/ip4/109.123.240.102/tcp/4001/p2p/12D3KooWHTvrWSTCXZFR2vS8Cbw17b5peK2aSBr8CmkyA96CDqiU'
}
],
storeFolder: '.adm-ipfs',
logLevel: 'debug',
peerDiscovery: {
bootstrap: [
'/ip4/194.163.154.252/tcp/4001/p2p/12D3KooWSUCe86zWfas1Lo1UQzXzquZgS81d1DpPPYAuTNjSyniq', // ipfs1
'/ip4/154.26.159.245/tcp/4001/p2p/12D3KooWJw99nqrQ2L2joFuGCF9EN9EyF8ZrvGr1odQ61HoPrbXd', // ipfs2
'/ip4/109.123.240.102/tcp/4001/p2p/12D3KooWHTvrWSTCXZFR2vS8Cbw17b5peK2aSBr8CmkyA96CDqiU' // ipfs3
],
listen: ['/ip4/0.0.0.0/tcp/4001']
},
serverPort: 4000,
autoPeeringPeriod: '*/10 * * * * *',
diskUsageScanPeriod: '*/30 * * * * *',
uploadLimitSizeBytes: 268435456, // 256 Mb.
maxFileCount: 10,
findFileTimeout: 20000,
cors: {
origin: '*',
credentials: true
}
}