-
Notifications
You must be signed in to change notification settings - Fork 3
/
dadip2p.yaml
44 lines (44 loc) · 1019 Bytes
/
dadip2p.yaml
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
# Log level, debug | info | warn | error | panic
LogLevel: "info"
# ProxyConfig
ProxyConfig:
# Port, server port
Port: 19245
# ProxyHTTPS
ProxyHTTPS: true
# CertConfig
CertConfig:
# CertPath
CertPath: "ca.crt"
# KeyPath
KeyPath: "ca.key"
# P2PConfig
P2PConfig:
# Run mode, root | agent
RunMode: "root"
# Root list, agent use it to find root
RootList: [ ]
# Node IP, outbound ip
NodeIP: ""
# DetectAddr, if not set NodeIP, we will use detect addr to get outbound ip
DetectAddr: "8.8.8.8:80"
# ServeBySSL, used to determine serve on https
ServeBySSL: false
# Port, serve port
Port: 19145
# APIKey
APIKey: "dadip2p"
# CacheConfig
CacheConfig:
# FileCacheSize
FileCacheSize: 4294967296 # 4G
# FileCachePath
FileCachePath: "/tmp/cache"
# MemCacheSize
MemCacheSize: 1073741824 # 1G
# PrefetchConfig
PrefetchConfig:
# PrefetchEnable, used to determine open prefetch
PrefetchEnable: true
# PrefetchThread
PrefetchThread: 64