-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.yml
79 lines (65 loc) · 1.26 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
78
79
#
# 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
cdn:
enabled: false
url:
database:
uri: mongodb://localhost/letschat
secrets:
cookie: secretsauce
sqs:
credentials: # Use a user with only SQS permissions!
accessKeyId: AKIAJ...
secretAccessKey: N+BC2br8YbA...
region: us-west-1
queuePrefix: lets-chat
messageRetentionPeriod: 60
longPollingPeriod: 20 # must be <= 20
files:
enable: false
provider: s3
maxFileSize: 5000000
restrictTypes: true
allowedTypes:
- 'image/jpeg'
- 'image/png'
- 'image/gif'
s3:
accessKeyId: AKIAJ...
secretAccessKey: N+BC2br8YbA...
bucket: lets-chat
region: us-west-1
auth:
throttling:
enable: true
threshold: 3
providers: [local] # [local, kerberos, ldap] - You can specify the order
local:
enableRegistration: true
passwordRegex: ^.{8,64}$
private:
enable: true
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: true
i18n:
locale: en