forked from ben-tmp/demochat
-
Notifications
You must be signed in to change notification settings - Fork 183
/
defaults.yml
77 lines (64 loc) · 1.14 KB
/
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# 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
domain: example.com
username: node # node / full
tls:
enable: false
key: ./server.key
cert: ./server.crt
database:
uri: mongodb://mongo:27017/hp_mongo
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}$
private:
enable: false
roster: online # online / all
expire: 360 # false or number of minutes
noRobots: true # Serve robots.txt with disallow
giphy:
enable: true
rating: pg-13
limit: 24
apiKey: dc6zaTOxFJmzC
rooms:
private: false
i18n:
locale: en