-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup-wizard.yml
185 lines (144 loc) · 5.74 KB
/
setup-wizard.yml
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
version: "2"
fields:
- id: profile
target:
type: environment
name: PROFILE
title: IPFS profile mode
description: >-
- **default-networking**: Restores default network settings.
- **lowpower**: Reduces daemon overhead on the system. May affect node
functionality - performance of content discovery and data fetching
may be degraded.
- **local-discovery**: Sets default values to fields affected by the server
profile, enables discovery in local networks.
- **server**: Disables local host discovery, recommended when
running IPFS on machines with public IPv4 addresses.
- **none**: Your node will use no routing system. You'll have to explicitly
connect to peers that have the content you're looking for.
We recommend at least to [add a DAppNoder IPFS peer](http://my.dappnode/system/add-ipfs-peer/%2Fdns4%2Fipfs.dappnode.io%2Ftcp%2F4001%2Fipfs%2FQmfB6dT5zxUq1BXiXisgcZKYkvjywdDYBK5keRaqDKH633)
if you don't want to have problems getting DAppNode packages.
- **custom**: Allows you to fine-tuning several parameters
enum:
- "default-networking"
- "lowpower"
- "local-discovery"
- "server"
- "none"
- "custom"
required: true
- id: datastore_storagemax
target:
type: environment
name: DATASTORE_STORAGEMAX
title: Max Storage
description: >-
A soft upper limit for the size of the ipfs repository's datastore.
Default: 50GB
require: true
- id: routing
target:
type: environment
name: ROUTING
title: Content routing mode
description: >-
There are two core routing options: "none" and "dht".
- **dht** (default): Your node will use the IPFS DHT.
When the DHT is enabled, it can operate in two modes: client and server.
When routing type is set to dht, your node will start as a DHT client,
and switch to a DHT server when and if it determines that it's reachable
from the public internet (e.g., it's not behind a firewall).
To force a specific DHT mode, client or server, set routing type to dhtclient
or dhtserver respectively. Please do not set this to dhtserver unless you're
sure your node is reachable from the public network.
- **dhtserver**: In server mode, your node will query other peers for
DHT records, and will respond to requests from other peers
(both requests to store records and requests to retrieve records).
- **dhtclient** (default): In client mode, your node will query the DHT as a client
but will not respond to requests from other peers. This mode is less
resource intensive than server mode.
- **none**: your node will use no routing system. You'll have to explicitly
connect to peers that have the content you're looking for.
require: true
enum:
- "dht"
- "dhtclient"
- "dhtserver"
- "none"
if: { "profile": { "enum": ["custom"] } }
- id: discovery_mdns_enabled
target:
type: environment
name: DISCOVERY_MDNS_ENABLED
title: Discovery MDNS Enabled
description: >-
A boolean value for whether or not mdns should be active.
Default: true
require: true
enum:
- "true"
- "false"
if: { "profile": { "enum": ["custom"] } }
- id: swarm_disablenatportmap
target:
type: environment
name: SWARM_DISABLENATPORTMAP
title: Disable automatic NAT port forwarding
description: >-
When not disabled (default), go-ipfs asks NAT devices (e.g., routers),
to open up an external port and forward it to the port go-ipfs is running on.
When this works (i.e., when your router supports NAT port forwarding),
it makes the local go-ipfs node accessible from the public internet.
Default: false
require: true
enum:
- "false"
- "true"
if: { "profile": { "enum": ["custom"] } }
- id: reprovider_interval
target:
type: environment
name: REPROVIDER_INTERVAL
title: Reprovider strategy
description: >-
Sets the time between rounds of reproviding local content to the routing system.
If unset, it defaults to 12 hours. If set to the value "0" it will disable content reproviding.
Note: disabling content reproviding will result in other nodes on the network
not being able to discover that you have the objects that you have. If you want
to have this disabled and keep the network aware of what you have, you must manually
announce your content periodically.
Default: 12h
require: true
if: { "profile": { "enum": ["custom"] } }
- id: swarm_connmgr_lowwater
target:
type: environment
name: SWARM_CONNMGR_LOWWATER
title: LowWater
description: >-
LowWater is the number of connections that the basic connection manager will trim down to.
Default: 600
require: true
if: { "profile": { "enum": ["custom"] } }
- id: swarm_connmgr_highwater
target:
type: environment
name: SWARM_CONNMGR_HIGHWATER
title: HighWater
description: >-
HighWater is the number of connections that, when exceeded, will trigger a connection
GC operation. Note: protected/recently formed connections don't count towards this limit.
Default: 900
require: true
if: { "profile": { "enum": ["custom"] } }
- id: swarm_connmgr_graceperiod
target:
type: environment
name: SWARM_CONNMGR_GRACEPERIOD
title: GracePeriod
description: >-
GracePeriod is a time duration that new connections are immune from being closed
by the connection manager.
Default: 20s
require: true
if: { "profile": { "enum": ["custom"] } }