forked from sdelements/lets-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.yml
60 lines (51 loc) · 980 Bytes
/
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
#
# Let's Chat Built-in Defaults
#
env: development # development / production
http:
enable: true
host:
port: 5000
https:
enable: false
host:
port: 5001
key: key.pem
cert: certificate.pem
xmpp:
enable: false
roomCreation: false
debug:
handled: false
unhandled: false
port: 5222
host: localhost
tls:
enable: false
key: ./server.key
cert: ./server.crt
database:
uri: mongodb://localhost/letschat
secrets:
cookie: secretsauce
files:
enable: false
provider: local
maxFileSize: 100000000
restrictTypes: true
allowedTypes:
- 'image/jpeg'
- 'image/png'
- 'image/gif'
local:
dir: uploads
auth:
throttling:
enable: true
threshold: 3
providers: [local] # [local, kerberos, ldap] - You can specify the order
local:
enableRegistration: true
passwordRegex: ^.{8,64}$
salt: secretsauce # Required when upgrading from version < 0.3
noRobots: true # Serve robots.txt with disallow