/
app.coffee
56 lines (46 loc) · 1.64 KB
/
app.coffee
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
# Main Application Config
# -----------------------
# Optional config files can be added to /config/environments/<SS_ENV>.coffee (e.g. /config/environments/development.coffee)
# giving you the opportunity to override each setting on a per-environment basis
# Tip: Type 'SS.config' into the SocketStream Console to see the full list of possible config options and view the current settings
exports.config =
# HTTP server (becomes secondary server when HTTPS is enabled)
http:
port: 3000
hostname: "0.0.0.0"
# HTTPS server (becomes primary server if enabled)
https:
enabled: false
port: 443
domain: "www.socketstream.org"
# HTTP(S) request-based API
api:
enabled: true
prefix: 'api'
https_only: false
# Show customizable 'Incompatible Browser' page if browser does not support websockets
browser_check:
enabled: false
strict: true
# Load balancing. Uncomment and set suitable TCP values for your network once you're ready to run across multiple boxes
#cluster:
# sockets:
# fe_main: "tcp://10.0.0.10:9000"
# fe_pub: "tcp://10.0.0.10:9001"
# be_main: "tcp://10.1.1.10:9000"
# for SocketStream v0.2.0 beta 2
#users:
# online:
# keep_historic: true
# for SocketStream v0.2.0 relase
#users_online:
# keep_historic: true
# for expiration of lost sessions
offline_expire:
timeout: 24*60
interval: 990
irc:
#server: 'irc.freenode.net' # example server
server: "localhost" # work with local server liked ircdjs
name: "constant-stream"
real_name: "IRC streamer"