forked from beakerbrowser/hashbase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.defaults.yml
63 lines (56 loc) · 958 Bytes
/
config.defaults.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
dir: ./.hashbase
brandname: Hashbase
hostname: hashbase.local
proxy: true
port: 8080
letsencrypt: false
sites: false
rateLimiting: true
csrf: true
# usage limits
defaultDiskUsageLimit: 100mb
defaultNamedArchivesLimit: 15
proDiskUsageLimit: 10gb
proNamedArchivesLimit: 100
bandwidthLimit:
up: 1mb
down: 1mb
# processing jobs
jobs:
popularArchivesIndex: 30s
userDiskUsage: 5m
deleteDeadArchives: 5m
# cache settings
cache:
metadataStorage: 65536
contentStorage: 65536
tree: 65536
# monitoring
pm2: true
alerts:
diskUsage: 1gb
# user settings
registration:
open: false
allowed:
reservedNames:
- admin
- root
- support
- noreply
- users
- archives
admin:
email: ''
password: ''
# email settings
email:
transport: stub
sender: '"Hashbase" <[email protected]>'
# login sessions
sessions:
algorithm: HS256
secret: THIS MUST BE REPLACED!
expiresIn: 1h