-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
60 lines (48 loc) · 1.24 KB
/
config.js
File metadata and controls
60 lines (48 loc) · 1.24 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
"use strict";
module.exports = {
// Public mode allows anyone to connect without authentication
// Set to false for private mode (users must be created via thelounge add)
public: false,
// The IP address or hostname to bind to
host: "0.0.0.0",
// The port to listen on
port: 9000,
// Set to true to enable HTTPS
https: {
enable: false,
},
// Reverse proxy settings
reverseProxy: true,
// Maximum number of history lines per channel
maxHistory: 10000,
// Default theme - Matrix Dracula (black backgrounds, green accents, Dracula colors)
theme: "matrix-dracula",
// Prefetch URLs for link previews
prefetch: true,
prefetchStorage: true,
prefetchMaxImageSize: 2048,
// File uploads
fileUpload: {
enable: true,
maxFileSize: 10240, // KB
baseUrl: null,
},
// LDAP authentication (disabled)
ldap: {
enable: false,
},
// Default settings for new users
defaults: {
name: "Freenode",
host: "irc.libera.chat", // Freenode moved to Libera.Chat
port: 6697,
password: "",
tls: true,
rejectUnauthorized: true,
nick: "socket",
username: "socket",
realname: "The Lounge User",
join: "#test",
leaveMessage: "The Lounge - https://thelounge.chat",
},
};