-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
290 lines (290 loc) · 5.79 KB
/
config.example.yaml
File metadata and controls
290 lines (290 loc) · 5.79 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
allowed_users:
batch_update_on_startup: false
last_updated: 0
mode: public
read_access:
enabled: true
scope: all_users
tiers:
- monthly_limit_bytes: 104857600
name: Basic
price_sats: 0
unlimited: false
write_access:
enabled: true
scope: all_users
content_filtering:
image_moderation:
check_interval_seconds: 30
concurrency: 5
enabled: true
mode: full
threshold: 0.4
timeout_seconds: 600
text_filter:
cache_size: 10000
cache_ttl_seconds: 60
enabled: true
full_text_search_kinds:
- 1
event_filtering:
allow_unregistered_kinds: false
dynamic_kinds:
allowed_kinds: []
enabled: false
kind_whitelist:
- kind0
- kind1
- kind3
- kind5
- kind6
- kind7
- kind8
- kind1063
- kind1808
- kind1984
- kind9372
- kind9373
- kind9735
- kind9802
- kind10000
- kind10001
- kind10002
- kind10010
- kind10411
- kind11011
- kind16629
- kind16630
- kind19841
- kind19842
- kind19843
- kind22242
- kind30000
- kind30008
- kind30009
- kind30023
- kind30078
- kind30079
- kind76
- kind75
- kind74
- kind73
- kind16629
- kind16630
- kind1809
media_definitions:
audio:
extensions:
- .mp3
- .wav
- .ogg
- .flac
max_size_mb: 100
mime_patterns:
- audio/*
binary:
extensions:
- .bin
- .dat
- .blob
max_size_mb: 100
mime_patterns:
- application/octet-stream
git:
extensions:
- .git
- .bundle
- .json
max_size_mb: 100
mime_patterns:
- application/x-git
image:
extensions:
- .jpg
- .jpeg
- .png
- .gif
- .webp
max_size_mb: 100
mime_patterns:
- image/*
video:
extensions:
- .mp4
- .webm
- .avi
- .mov
max_size_mb: 500
mime_patterns:
- video/*
moderation_mode: strict
protocols:
allowed_protocols: []
enabled: false
registered_kinds:
- 0
- 1
- 3
- 5
- 6
- 7
- 8
- 443
- 444
- 445
- 1059
- 1063
- 1808
- 1809
- 1984
- 9372
- 9373
- 9735
- 9802
- 10000
- 10001
- 10002
- 10010
- 10051
- 10411
- 11011
- 16629
- 16630
- 19841
- 19842
- 19843
- 22242
- 30000
- 30008
- 30009
- 30023
- 30078
- 30079
- 76
- 75
- 74
- 73
external_services:
moderator:
url: http://moderator:8000
ollama:
model: gemma2:2b
timeout: 10000
url: http://ollama:11434
wallet:
key: f0e8592a1fa471a8460b1aad5c986249f8e1abcf80c0f36cdcb4441a639de283
name: default
url: http://localhost:11003
logging:
level: info
output: file
nip_mappings:
"0": "1"
"1": "1"
"2": "1"
"3": "2"
"5": "9"
"6": "18"
"7": "25"
"8": "58"
"16": "18"
"443": "999"
"444": "999"
"445": "999"
"555": "555"
"1059": "59"
"1060": "117"
"1063": "94"
"1984": "56"
"9372": "888"
"9373": "888"
"9735": "57"
"9802": "84"
"9803": "84"
"10000": "51"
"10001": "51"
"10002": "65"
"10010": "51"
"10011": "51"
"10022": "51"
"10051": "999"
"10411": "888"
"11011": "888"
"11888": "888"
"16629": "888"
"16630": "888"
"19841": "888"
"19842": "888"
"19843": "888"
"22242": "42"
"30000": "51"
"30008": "58"
"30009": "58"
"30023": "23"
"30078": "78"
"30079": "116"
push_notifications:
apns:
bundle_id: ""
enabled: false
key_id: ""
key_path: ""
production: false
team_id: ""
enabled: false
fcm:
credentials_path: ""
enabled: false
project_id: ""
service:
batch_size: 100
queue_size: 1000
retry_attempts: 3
retry_delay: 5s
worker_count: 10
relay:
contact: support@hornetstorage.com
description: HORNETS relay, the home of GitNestr
dht_key: 020439cb396ec92c283048f989c342fe3833cc5a
icon: http://localhost:11002/logo-dark-192.png
name: HORNETS
private_key: c600149fe1207dd0cf5284d0a4bd767dc192181940d2a2b08f9571445f308a02
public_key: 336b884334a2ad004b9b5c0d24ea727e0dfa9d9f6088d37386731611a2b38bcd
secret_key: hornets-secret-key
service_tag: hornet-storage-service
software: HORNETS
supported_nips:
- 1
- 2
- 9
- 11
- 18
- 23
- 24
- 25
- 42
- 45
- 50
- 51
- 56
- 57
- 65
- 116
- 555
- 888
version: 0.0.1
server:
bind_address: 0.0.0.0
port: 11000
upnp: false
data_path: ./data
demo: false
hornets: true
nostr: true
blossom: true
web: true
services:
airlock:
host: ""
port: 11006
pubkey: ""